08 What are Docker Volumes?

preview_player
Показать описание
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

docker run -it –-name srv05 -v "$(pwd)":/data1 centos

docker volume rm [volume_name]

#nextops #nextopsvideos #nextops docker
Рекомендации по теме
Комментарии
Автор

Sir, you explained each topic in very detailed manner, even beginner can easily understand this.
thank you for all your videos. i learned a lot from your videos.
once again thank you 🙂

yourstrulysaidi
Автор

Thank you Very much for detail explanation....

wonders
Автор

Docker Desktop - Unexpected WSL error
An unexpected error occurred while executing a WSL command.

Either shut down WSL down with wsl --shutdown, and/or reboot your machine. You can also try reinstalling WSL and/or Docker Desktop. If the issue persists, collect diagnostics and submit an issue⁠. anna na docker server stopayindi anna

badepalliharisha
Автор

Either shut down WSL down with wsl --shutdown, and/or reboot your machine. idi ela anna chesedi

badepalliharisha
Автор

Hi Sir
Docker Engine where it will store the container information.

HarikrishnaMuppa
Автор

Hi Sir
Containers will have IP address or not ? Why i am asking to access the application also using the docker host and then application configured port.

HarikrishnaMuppa
Автор

Hi
How to mount a new volume to running container, that running container has already a existing volume.
is that possible to add

sannalagovardhan
Автор

Any limit for docker volume size sir? Can I keep data 1GB or more in it and how can I share export this data or volume to my local Laptop or GitHub repo or S3 buckets?

naren
Автор

Hi bro, Can you please explain docker overlay2 folder. How we can identify overlay2 is related to docker image or container. Pls explain bro.

krish_for_you
Автор

Anna una volume alage unchi inko volume attach cheyagalam.., same container path ki like new volume create chesi petadam

nasai
Автор

Hi charan,
I have docker login and executed, its saying resource is dentied. I am practicing on amazaon ec2 instance. Please suggest

Unable to find image 'it:latest' locally
docker: Error response from daemon: pull access denied for it, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

gnkotha
Автор

Thank you very much for all the azure and docker videos. can you let us know what would be the future concepts we can expect?

pulagamsunilreddy
Автор

Sir, 1 doubt: Can i rename it /data folder....and why you use sometime /data, other time /data1? If i wish to create & push my data into direct /_data means (docker host path) without creating /data in container even i was login in running container....

naren
Автор

Anna... troubleshooting cheppu anna...manaki enni rakaluga facing chestam

chiranjeevikeerthi
Автор

Nest Videos yeppudu vasthai charan, waiting long back, koncham fast ga docker complete chesi, k8s start cheyandi brother, plz

anandreddy
Автор

Hi sir can you teach aws devops...
How can i contact you..

arunareddy
Автор

container create chesthunappudu kakunda, existing container ki volume attach cheyali ante ye command vaadali sir

existing volume and container ki multiple directories mount cheyali ante yela sir

mohanvamshidudimani
Автор

removing container through looping is not working sir, it's saying that unknown shorthand flag -a, -q
help me🥲

sagivishnuvardhan