DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to make a Docker container smaller by deleting files

6 years ago medium.com
How to make a Docker container smaller by deleting files

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Let’s try that — actually, let’s let someone on StackOverflow try that. We pick up with an image, tester/mytestfedora, that has a file in it to be deleted. The file, Riverbed.zip, is 25MB. Ok, cool, let’s get in there, delete this file, then commit that container into a new image.

Made with pure grit © 2026 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com