May 2017
Beginner
300 pages
7h 26m
English
The VOLUME instruction creates a directory in the image filesystem, which can later be used for mounting volumes from the Docker host or the other containers.
The VOLUME instruction has two types of syntax, as shown here:
VOLUME ["<mountpoint>"]
VOLUME <mountpoint>
In the preceding lines, <mountpoint> is the mount point that has to be created in the new image.
Read now
Unlock full access