O'Reilly logo

Docker in Production: Lessons from the Trenches by Justin Cormack, Joe Johnston, Milos Gajdos, Antoni Batchelli, John Fiedler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Docker storage drivers

One of the biggest benefits of using Docker is the speed of starting new containers from an existing image. Historically, LXC containers, out of which Docker has evolved, would make a full physical copy of the image root filesystem into a separate path on the host for each newly created container. This was obviously quite inefficient. The disk space usage grew with each newly created container and container start time would take several seconds depending on the amount of data that needed to be copied from one path to another. Docker addressed both of these issues by using layered images.

On a high level, image layers are simply filesystem trees, which can be mounted and modified when needed. New image layers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required