This video will explain how docker manages data relating to containers and images on the host machine. This should be useful for recovering data from docker containers which may have been stopped or corrupted in some way.
Layers of a Docker image are essentially just files generated from running some command. You can view the contents of each layer on the Docker host at /var/lib/docker/aufs/diff. Layers are neat because they can be re-used by multiple images saving disk space and reducing time to build images while maintaining their integrity.
What are the layers?
Docker containers are building blocks for applications. Each container is an image with a readable/writeable layer on top of a bunch of read-only layers.
These layers (also called intermediate images) are generated when the commands in the Dockerfile are executed during the Docker image build.
#docker #containers #vm
Watch video 3 Expert Docker Data Concepts; Mount, Layers, & Diff (Docker Tutorial) online without registration, duration hours minute second in high quality. This video was added by user Data Slayer 12 September 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 819 once and liked it 8 people.