A Docker volume "lives" outside the container, on the host machine.

From the container, the volume acts like a folder which you can use to store and retrieve data. It is simply a mount point to a directory on the host.

There are several ways to create and manage Docker volumes. Each method has its own advantages and disadvantages.

Comments