Building Smaller Container Images
Building Smaller Container Images p.indent { margin-left: 20px; } This post is part of our series about container technology: What Are Namespaces and cgroups, and How Do They Work? Building Smaller Container Images (this post) Containers are everywhere in the modern application landscape. Developers are using them in multiple ways – building them, pushing them to registries, and generally making applications work within containers. In this blog I explore the world of container images – specifically, how to make your container images smaller and why that’s important. Along the way, I show the code and commands for building a very small container image that can be used for testing. What Are Container Images? The best definition that I’ve seen of a container image is this one: Images can exist without containers, but a container needs to run an image to exist. This [ more… ]