Docker Volumes explained in 6 minutes

  Рет қаралды 271,292

TechWorld with Nana

TechWorld with Nana

Күн бұрын

Understand Docker Volumes in 6 minutes. Docker Volumes in Docker-Compose
► Subscribe To Me On KZbin: bit.ly/2z5rvTV
In this video you will learn:
0:00 - Intro
0:21 - When do we need Docker Volumes?
1:02 - What is Docker Volumes?
2:04 - 3 Docker Volumes Types
4:14 - Docker Volumes in docker-compose file
This gives you a short but thorough understanding what Docker Volumes are.
⭐️ For a Demo please refer to • Docker Volumes Demo ||...
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
#devops #techworldwithnana #docker #dockertutorials
-----------------------------------------------------------------------------------
✅ Follow me
on KZbin: / @techworldwithnana
on DEV: dev.to/techworld_with_nana
on Instagram: / nanuchij
on Twitter: / njuchi_
on Tumblr: www.tumblr.com/blog/techworld...
Legal Notice:
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Docker, Inc.

Пікірлер: 337
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
0:21 - When do we need Docker Volumes? 1:02 - What is Docker Volumes? 2:04 - 3 Docker Volumes Types 4:14 - Docker Volumes in docker-compose file 👉🏼 For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. 👉🏼 Also please let me know what you want to learn about Docker & Kubernetes. Please don't forget to subscribe and give me a thumbs up if you liked my video 🤓
@agrahul89
@agrahul89 3 жыл бұрын
Wow! this was actually the best explanation for docker volume mapping i have stumbled upon so far. You really made it so easy to understand. Thank you Nana.
@UnknownSend3r
@UnknownSend3r 3 жыл бұрын
Hi there nana, great video. I'm new to docker and containers in general, I wanted to know, do you have to manually create the path in the container (in this case /var/lib/mysql/data) your mapping to, and how do you go about doing it ? Thanks in advance.
@Manasa-ei4jp
@Manasa-ei4jp Жыл бұрын
Hi nana, could tell me what is the maximum capacity of volume size by default in docker if we didnt mention limit to it. As well as how i can find that ? Thanks in advance
@FreePizza007
@FreePizza007 2 ай бұрын
Don't work with postgres containers. Asks for user. Pass error
@peteconnolly
@peteconnolly 4 жыл бұрын
I really like the way you deliver information in a short, sharp way. It really cuts through some of the complexities of the subject matter
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks Pete for that positive feedback! :)
@BhuwanBhatta
@BhuwanBhatta 2 жыл бұрын
Exactly.
@yinonelbaz5309
@yinonelbaz5309 Жыл бұрын
I've spent hours trying to figure out all the variations I see for volumes. You just explained it excellently straight to the point Thanks!!!
@sravanchithari13
@sravanchithari13 4 жыл бұрын
As a beginner i read volumes concept in docker document but didn't understood clearly but with your tutorial it understood clearly,way you delivered this concept is awesome . "short and sharp" teaching. Thank you so much :)
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you, I'm glad my video is so useful! :)
@armankarimi9209
@armankarimi9209 2 жыл бұрын
Your videos are great! The official documents of Docker are so vague and incomprehensible, but you simplify and present these concepts so wonderfully.
@Nakameguro97
@Nakameguro97 2 жыл бұрын
The best explanation of docker volumes on YT! The double indirection of named volumes threw me off, but your diagrams describe it perfectly.
@farzadsole3784
@farzadsole3784 4 жыл бұрын
Wow thank you so much, couldn't understand the volumes any better, despite I watch dozens of other video tutorials here, none of them made it this easy to visualise the entirety of the whole concept in my head, you are a star :)
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Wow thanks, very happy to hear that my video is so helpful! Would appreciate your support by sharing my videos or subscribe :)
@zakhorpa
@zakhorpa 4 жыл бұрын
After hanging around dozens of tutorials at last I got the Volumes puzzle solved here. Thank you!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome, happy to hear my video is so helpful! :)
@AhmedShakil
@AhmedShakil 2 жыл бұрын
I was going to watch a several videos, but this one answered all my questions in 6 minutes. Thank you!
@vasudevjamwal
@vasudevjamwal 3 жыл бұрын
I usually don’t comment on KZbin videos, but your content truly deserves to be appreciated. I’ll definitely share your channel with my coworkers.
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thank you so much! Appreciate your comment 😊
@jaimecarranza7872
@jaimecarranza7872 4 жыл бұрын
Excellent lesson! Easily digestible and thorough. I was confused about named volumes in docker compose files, this totally cleared it up in a hurry.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Cool thanks a lot Jaime! :)
@Capture.Castle
@Capture.Castle 2 жыл бұрын
Wow, this video just made everything make sense! I’ve been losing hours of my week trying to figure out these freaking volume save paths. Thank you!
@SebVEVO
@SebVEVO Жыл бұрын
And I have been losing years everytime I come back to volumes. Now it's crystal clear.
@hassannaveed368
@hassannaveed368 3 жыл бұрын
Not only she explained what volumes are , she even explained how to replicate a database using volumes in just 6 minutes!!!! HOLY MOLY . Ty !
@akshat2808
@akshat2808 7 күн бұрын
replication? which part? Are you referring to the volume creation with a path as replication since the data being saved inside the container is also being saved to that particular folder path as well as it's being mounted the moment the image is recreated.
@lefxxwill7740
@lefxxwill7740 3 жыл бұрын
wow. this short video has helped mde out a bunch in understanding what is going on in our docker environment. Once I watch more of your videos I'm sure I will have a good understanding of docker! Thanks a lot!
@torrvic1156
@torrvic1156 7 ай бұрын
Thank you miss Nana! That was a very short and sweet explanation of a VERY complex subject!
@smarttradzt4933
@smarttradzt4933 2 жыл бұрын
can't believe i just found this channel now...thank you for the best explanation! subscribed!
@mubafaw
@mubafaw 2 жыл бұрын
You are a genius in the way you break down complex topics that the layman can understand and follow crystal clear. This video is better than alot of paid courses out there. Your explanation is a lot clearer than the official docs too. Although it did not directly solve the problem I had it sure did make me more confident and pointed me in the right direction to eventually solving the problem. Thank you for your contribution to humanity and also potentially saved my job!
@martinsteinprj
@martinsteinprj 2 жыл бұрын
yeah, same thing :D
@rafa7730
@rafa7730 4 жыл бұрын
Great way to slip in the commands along with the high level explanation! Usually you only get one or the other in tutorial videos. Thanks!
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Awesome Rafa! Glad to be of help. 🙂
@arsalanharouni2058
@arsalanharouni2058 Жыл бұрын
Very clear specially as you mentioned WHY and WHEN we can specifically use volumes. Thank you a bunch!
@Lunolux
@Lunolux Жыл бұрын
great job, i watch like 3hours of your video, great explaination, nice job, thx
@SnowmEVE
@SnowmEVE 4 жыл бұрын
Great video. Not sure why the official volume docs don't follow a similar structure like this.
@pallavkan
@pallavkan 4 жыл бұрын
The editing efforts you are putting to create videos on docker and kubernetes is commendable!! I have noticed how each sub-topic is clearly mentioned with the title when we slide the video forward!!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you so much Pallav, happy one can notice the efforts I put into my videos and it's appreciated 🙂🙏
@moises8war
@moises8war 3 жыл бұрын
the section on how to define shared volumes in the docker compose file was really helpful. Thank you! I subscribed!
@filthkyory
@filthkyory Жыл бұрын
Wow ... Infinity thanks. After of this explanation, I understand very good how to use volumes correctly... Again... Thank you very much!
@MccZerk
@MccZerk 4 ай бұрын
Was confused out of my tree focusing on the first type of volume, not realizing that their was 3. Great video.
@maboesanman
@maboesanman 3 жыл бұрын
this is the best resource I've found for understanding containerization technologies. thanks for your hard work!
@randykitchleburger2780
@randykitchleburger2780 2 жыл бұрын
Extremely helpful, thank you so much! You solved my hour long problem in 3 minutes
@shaunmcdougall9749
@shaunmcdougall9749 4 жыл бұрын
Exactly what i needed, last thing I want is a video that drags out for 15 to 21 minutes when I just need to know what the tutorial im following is doing
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks Shaun!
@moe45673
@moe45673 Жыл бұрын
Thank you! You made this very clear in the first minute or so. Exactly what I needed.
@user-ye8nb9nm6t
@user-ye8nb9nm6t 3 жыл бұрын
Thanks a lot for this series of videos -- they are extremely useful, as someone who never had experience with docker before, now I have a good idea of what a developer workflow with docker looks like!
@IvasyukRuslan
@IvasyukRuslan 2 жыл бұрын
One of the best explanation about docker volumes. Thank you Nana it's very helpful!
@dxb_coder
@dxb_coder 2 жыл бұрын
Nana is the best.... thank you for this brief yet comprehensive explanation.
@carlellis9647
@carlellis9647 2 жыл бұрын
Another great video by Nana where she explains things so well. Thanks so much! :)
@johnczaia9124
@johnczaia9124 4 жыл бұрын
Clear and to the point, now I finally know what named volumes are for! Thanks!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Glad it was helpful John, thanks for your comment! :)
@Mo7dBa7rani
@Mo7dBa7rani 4 жыл бұрын
I really liked the way you described the topic. Nice interactive slideshow. I saw many volume description videos and by far this is one of the best.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks a lot, really happy to hear!
@j4t1nd3r
@j4t1nd3r 3 жыл бұрын
Thanks for the breakdown, I've been stuck on a volume issue for a while now. Turns out I misunderstood one of the volume types which your video cleared up! =]
@nagarjunahota4498
@nagarjunahota4498 Жыл бұрын
love the graphical representation, thank you
@mohamedarfaoui677
@mohamedarfaoui677 3 жыл бұрын
I Like How Your Explanation Is Short And Direct. Very Helpful. THKS !
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
That's wonderful Mohamed. Happy to hear. Thank you. 🙂
@sandeepsundaram5577
@sandeepsundaram5577 3 жыл бұрын
one of the best educators i have come across
@howbeautifulwillbetheparad5967
@howbeautifulwillbetheparad5967 2 жыл бұрын
Your work is admirable, your way of teaching is admirable simply great!!!!
@mumblic
@mumblic 3 жыл бұрын
This was the biggest question I had. This is also something that always should be mentioned in beginner tutorials, sadly it almost never is. Which make it really hard to understand containers as a newcomer.
@sujeetkumar.
@sujeetkumar. 2 жыл бұрын
You have made docker very simple. Thank You for superb explanation.
@tomascoelhopinto
@tomascoelhopinto 2 жыл бұрын
Actually insanely well explained. Thank you, will subscribe.
@bama2619
@bama2619 2 жыл бұрын
Good point at 1:55 . Thank you. I could not understand why there were volumes inside containers and outside. For the sake of copying and saving))) Clear
@jomarmorais3910
@jomarmorais3910 9 ай бұрын
Awesome explanation! Thanks! 🥰🥰🥰
@perdaboy
@perdaboy 4 жыл бұрын
Perfect explanation! Clear, well paced and to the point!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you 🙏
@2427roger
@2427roger 3 жыл бұрын
Just what i need to do in production and what i want to explain to my team. Awesome 👍
@er.vikramkumarpundir8073
@er.vikramkumarpundir8073 3 жыл бұрын
You are always super Nana in explaining the concepts really simple words. It works like a charm every time. You are great.
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
I appreciate the compliment. Thank you. 🙂
@brookster7772
@brookster7772 8 ай бұрын
You’re my go to reference for learning keep up the great job!
@rehababdelwahab1906
@rehababdelwahab1906 3 жыл бұрын
Amazing explanation! like it so much. I watched too many tutorials for volumes before but didn't get it, Thanks
@JustinPhilip1
@JustinPhilip1 3 жыл бұрын
Nana, for me, if im stuck in docker, i just land up to your channel !
@stone8905
@stone8905 2 жыл бұрын
Nana, You are the best. Thank you very much!
@ivanbogdan185
@ivanbogdan185 3 жыл бұрын
Best resource about Docker Volumes on the web. God bless. Keep it up!
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thank you Ivan 😊
@lioncoding
@lioncoding 2 жыл бұрын
Clear, simple and nice :) Perfect explanation !
@abhinavsrirangam
@abhinavsrirangam 4 жыл бұрын
Excellent Buddy.. clarified with one video..if possible try to explain on bind mounts
@PouyaAtaei
@PouyaAtaei Жыл бұрын
like always, great presentation. I wish we had you as a teacher in uni...
@husnainfayaz
@husnainfayaz 2 жыл бұрын
Thanks! explained very well in a very short amount of time.
@StanleySathler
@StanleySathler 3 жыл бұрын
Best volume explanation I've ever seen.
@abbba2
@abbba2 3 жыл бұрын
Thanks a lot very easy to follow and to the point.
@marekr.9339
@marekr.9339 Жыл бұрын
Best explanation I have already found.
@kimkiamco3292
@kimkiamco3292 3 жыл бұрын
the best tutorial for docker volumes out there
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thank you Kim 😊
@marwanmakarem5860
@marwanmakarem5860 3 жыл бұрын
Thank you a lot! Short and precise explanation!
@Kumar99553
@Kumar99553 4 жыл бұрын
Seen so many videos but not satisfied with any of them. Your way of presentation is awesome. Keep doing. Good luck👍
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thanks a lot Kumar 😇
@uriel4829
@uriel4829 4 жыл бұрын
I'm surprised this vid has so few views. You explained really well and concisely.
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Hi Uriel, thanks for your comment! I also think I deserved more views 😀Please share the content :)
@sethpolley7999
@sethpolley7999 2 жыл бұрын
Thank you, this is very concise!
@Sailakshmi7207
@Sailakshmi7207 4 жыл бұрын
Very helpful. Before watching this video I had 1 dought. Thanks now I have even more doubts. What if the host fails and the container spins up on another host? Is the data from previous host accessible? And If there are multiple containers running on different host how is the data generated centralized?
@MichaelZamir
@MichaelZamir 2 ай бұрын
Question: In the end of this tutorial (around 5:00) , you explain the docker compose methodology for creating a volume that is used cross-container. My question is : what if those containers are created across different hosts ? How can / should we ensure that the physical folder is shared by the different container hosts ?
@pclp3202
@pclp3202 3 жыл бұрын
Excellent insight in short time. Great work. Expecting more learning & videos from you :)
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thank you! Please don't forget to share the knowledge with your friends. 🙂
@yuriyk8002
@yuriyk8002 3 жыл бұрын
perfectly explained. thank you so much.
@MrPikoka
@MrPikoka 4 жыл бұрын
minimal and crisp, I loved it!
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Thank you Matheus. Your support is much appreciated. 🙂
@SohailKhan-ll9kh
@SohailKhan-ll9kh 3 жыл бұрын
Brilliant video once again Nana! Thanks
@averrows
@averrows 22 күн бұрын
Thank you Nona!, this is a wonderful explanation
@chjethan2537
@chjethan2537 4 жыл бұрын
Nice video, straight to the point. Can you explain how to manage containers with configuration files like MySQL and how about the permissions on Host machine to Containers ? Thanks
@PeterOeC
@PeterOeC 2 жыл бұрын
These videos are 🔥! Thanks for making them :)
@prasanass
@prasanass 4 жыл бұрын
Very good presentation with relevant information !!! Thank you very much !!!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
You're welcome, glad the video is helpful :)
@dougdecoursin9919
@dougdecoursin9919 4 жыл бұрын
Fantastic video - great explanation with just enough visual!
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thanks a lot Doug! Really happy you like my explanation and visuals :)
@sirishreddyg
@sirishreddyg 8 ай бұрын
Sharp, To the point. Stay Blessed!
@nicolasbatista4342
@nicolasbatista4342 4 жыл бұрын
Thanks a lot for this video! Exactly what I needed to my project :D
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
I hope you aced your project Nic. Best of luck! 🙂
@Aprilwindz
@Aprilwindz 4 жыл бұрын
Thanks for the video Nana! This really helped me in my journey in understanding docker
@TechWorldwithNana
@TechWorldwithNana 4 жыл бұрын
Thank you, glad that my videos are helpful :)
@muthuarul88
@muthuarul88 2 жыл бұрын
you are really awesome NANA, it was to the point. BTW i like your voice which kept me focused.
@TechWorldwithNana
@TechWorldwithNana 2 жыл бұрын
Thank you! Appreciate your feedback 😊
@Tolmachovtv
@Tolmachovtv 5 ай бұрын
Thanks for the video, stay inspired!
@aurellungu8202
@aurellungu8202 3 жыл бұрын
Great Work, Nana! Thank you! :)
@LOogt
@LOogt 3 жыл бұрын
Thank you, you made it simple.
@bilalhaidar5588
@bilalhaidar5588 3 жыл бұрын
Hi Nana, amazing video by all means! I have a conceptual question related to volumes. When you define a volume inside Docker Compose "db-data" and then under the service, you mount that volume to a folder inside the container. The container will be reading/writing to "db-data" or to the path of the folder mapped to "db-data"? Thanks
@JalilHasanov
@JalilHasanov 11 ай бұрын
Great job Nana. Thank you
@aleabtu6004
@aleabtu6004 4 жыл бұрын
it was really clear and concise
@TechWorldwithNana
@TechWorldwithNana 3 жыл бұрын
Love that you find it that way. Thank you. 🙂
@ImbraWolf
@ImbraWolf Жыл бұрын
I always test it by restarting the docker container, if the container does not need to be reinstalled, that means it was mapped correctly and its working
@nvgomez111
@nvgomez111 3 жыл бұрын
Simple and clear. Thanks.
@sowmithreddy18
@sowmithreddy18 2 жыл бұрын
superbly explained 👍🏽
@learningcode314
@learningcode314 Жыл бұрын
Great explanation! Thanks :)
@AbdelrahmanMoussaAbuOuf
@AbdelrahmanMoussaAbuOuf Жыл бұрын
Thank you Nana, this was brilliant
@abderrahmanemabroukmerabet9274
@abderrahmanemabroukmerabet9274 Жыл бұрын
Excellent video, thank you
@samantha.patriot
@samantha.patriot 3 жыл бұрын
This was amazing! Thank you :)
@Xanagandr
@Xanagandr 4 жыл бұрын
Love the content. 2 questions: 1) How relevant for DevOps is to know the internals of Docker volumes? i.e. Unified Filesystem and storage drivers. 2) How relevant is configuring docker volumes (w/ command-line arguments)?
@krzysztofwesoowski7674
@krzysztofwesoowski7674 3 жыл бұрын
1) DevOps on premise must know what is going on, to diagnose and be in control what's happening. There cannot be cases, especially on live environment, when devops says he/she does not know what's going on - such minimum knowledge like storage drivers is required, the rest you get from stackoverflow, google etc. 2) Does not matter. Use compose for smaller things, and Kubernetes for large scale (CI, live etc.)
@nihalkumarsharma7874
@nihalkumarsharma7874 Жыл бұрын
you are the best, really like your tutorials
@adrienesquerre5790
@adrienesquerre5790 2 жыл бұрын
Great tutorial, very useful, very nice voice !
@MrEmileify
@MrEmileify Жыл бұрын
that was really good explain, thank u Nana🥰
@Python_Bacon
@Python_Bacon 2 жыл бұрын
great video, thank you.
@erickventura4380
@erickventura4380 Жыл бұрын
Very good and explanatory video.
@daesoolee1083
@daesoolee1083 2 жыл бұрын
Big help! Thank you :)
Docker Volumes Demo || Docker Tutorial 13
13:08
TechWorld with Nana
Рет қаралды 71 М.
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 5 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 53 МЛН
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,6 МЛН
Docker vs Kubernetes vs Docker Swarm | Comparison in 5 mins
5:31
TechWorld with Nana
Рет қаралды 285 М.
Virtual Machines vs Containers
8:57
PowerCert Animated Videos
Рет қаралды 852 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 419 М.
Top 8 Docker Best Practices for using Docker in Production
18:27
TechWorld with Nana
Рет қаралды 300 М.
If you're not developing with this, you're wasting your time
14:30
Articulated Robotics
Рет қаралды 270 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 869 М.
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 5 МЛН