Docker Volume

Leo Lo
2 min readJan 13, 2021

With Docker Volume, we do not need to stop the docker container, rebuild our image, and then restart the container when we have some changes in our code. It can somewhat cleverly show our changes immediately inside the running container. It improves our speed of development and user experience in using docker service.

Before understanding docker volume, we should know how Docker file system works.

A Docker image made up multiple read-only layer. When we launch a container from an image, Docker adds a read-write layer to top of that of read-only layer .

--

--