Tag Archives: Docker

Optimizing a Dockerfile to reduce layers and size

While converting the primary application I work on to Docker I went through a series of steps to reduce layers and final image size. Here is the process and results: Get the Dockerfile working Use Docker tools to understand what was built (layers, size, image tree) Progressively refine the Dockerfiles 1. Get the Dockerfile working… Read More »

Docker disk space usage

Something to watch out for: Docker may be using lots of your computer’s disk space. All data is written to a grow-only file. On my mac it was at 27 GB from pretty light Docker experimentation. There is a discussion thread here: Where does Docker keep images/containers so I can better track my disk usage.… Read More »