9

Managing the Image Lifecycle

In the previous chapter, we covered compression and strategies for minimizing image storage requirements and producing small lean images. Remember that compression, image layering, and container images can be used to save costs on storage for large image libraries. Storing container images as raw archives is highly inefficient and negates the deduplication advantage of container image layers. At some point, it makes the most sense to retire and decommission images altogether. Implementing a standard lifecycle management strategy can save storage waste with older unused image builds and also prevent old unpatched images and artifacts from being deployed in your environments, which might pose security risks. The ...

Get HashiCorp Packer in Production now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.