28. Docker: Volume Instruction

Published: 17 July 2022
on channel: iMustLearn
40
0

vi Dockerfile

FROM nginx
LABEL description="Using volume instructions"
VOLUME ["/usr/share/nginx/html/"]

docker image build -t mynginxvol .
docker container run -d --name mynginx5 mynginxvol.
docker container inspect mynginxvol.
## dokcer volume inspect [hash]


Watch video 28. Docker: Volume Instruction online without registration, duration hours minute second in high quality. This video was added by user iMustLearn 17 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 40 once and liked it 0 people.