See complete series on Docker here:
• Playlist
Note: To attach multiple volumes to container use -v/--mount flag more than once
Volumes are stored in a part of the host filesystem which is managed by Docker (/var/lib/docker/volumes/ on Linux). Non-Docker processes should not modify this part of the filesystem. Volumes are the best way to persist data in Docker
Sharing with 1 or more Containers: allowed
Commands:
$ docker run -d \
--name devtest \
--mount source=myvol2,target=/my/path \
nginx:latest
$ docker run -d \
--name devtest \
-v myvol2:/app \
nginx:latest
Reference: https://docs.docker.com/storage/volumes/
-----------------
To Support Us
Like, Share, Subscribe
Nesta página do site você pode assistir ao vídeo on-line #27 Docker Tutorial | Docker Volume duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário One Minute Notes 08 Setembro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 119 vezes e gostou 10 espectadores. Boa visualização!