3 Expert Docker Data Concepts; Mount, Layers, & Diff (Docker Tutorial)

Опубликовано: 12 Сентябрь 2016
на канале: Data Slayer
819
8

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


Смотрите видео 3 Expert Docker Data Concepts; Mount, Layers, & Diff (Docker Tutorial) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Data Slayer 12 Сентябрь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 819 раз и оно понравилось 8 людям.