In this video i am discussing about What are Docker Volumes? and How to mount them in different ways (In Telugu).
In previous video we discussed about Dockerfile in depth
[ Ссылка ]
For entire docker playlist
[ Ссылка ]
For entire terraform playlist
[ Ссылка ]
For azure devops videos
[ Ссылка ]
Full commands used in this video
To create a Docker Volume use the command
-----------------------------------------
docker volume create testvol1
docker volume ls
docker volume inspect testvol1
---------------------------------------
Mounting a Volume using -v or --mount
---------------------------------------
docker run -it --name=srv01 --mount source=testvol1,destination=/data centos
docker run -it --name srv04 -v testvol1:/data centos
docker run -it --volumes-from srv01 --name srv02 centos /bin/bash
---------------------------------------
Mounting a Host Directory as a Data volume
---------------------------------------
mkdir files
cd files
touch file.txt
docker run -it –-name srv05 -v "$(pwd)":/data1 centos
docker volume rm [volume_name]
#nextops #nextopsvideos #nextops docker
08 What are Docker Volumes?
Теги
nextops dockerdocker telugunextops docker telugunextops azurenextops azure devopsnextops terraformwhat is docker?containers in telugudocker engine in telugudocker platform in telugudocker containers in telugulearn docker in telugulearn azure devops in telugunextops videoswhat is a container?what is a container in teluguwhat are docker volumesdocker volumes in telugudocker storage in teluguhow to mount volumes in docker