Docker Volumes explained in 6 minutes
Vložit
- čas přidán 19. 05. 2024
- Understand Docker Volumes in 6 minutes. Docker Volumes in Docker-Compose
► Subscribe To Me On CZcams: 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 CZcams: / @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.
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 🤓
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.
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.
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
Don't work with postgres containers. Asks for user. Pass error
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
Thanks Pete for that positive feedback! :)
Exactly.
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 :)
Thank you, I'm glad my video is so useful! :)
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!!!
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!
yeah, same thing :D
Your videos are great! The official documents of Docker are so vague and incomprehensible, but you simplify and present these concepts so wonderfully.
Great video.
Not sure why the official volume docs don't follow a similar structure like this.
I usually don’t comment on CZcams videos, but your content truly deserves to be appreciated. I’ll definitely share your channel with my coworkers.
Thank you so much! Appreciate your comment 😊
Excellent lesson! Easily digestible and thorough. I was confused about named volumes in docker compose files, this totally cleared it up in a hurry.
Cool thanks a lot Jaime! :)
Best resource about Docker Volumes on the web. God bless. Keep it up!
Thank you Ivan 😊
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!
Awesome Rafa! Glad to be of help. 🙂
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 :)
Wow thanks, very happy to hear that my video is so helpful! Would appreciate your support by sharing my videos or subscribe :)
After hanging around dozens of tutorials at last I got the Volumes puzzle solved here. Thank you!
You're welcome, happy to hear my video is so helpful! :)
The best explanation of docker volumes on YT! The double indirection of named volumes threw me off, but your diagrams describe it perfectly.
Thank you miss Nana! That was a very short and sweet explanation of a VERY complex subject!
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!!
Thank you so much Pallav, happy one can notice the efforts I put into my videos and it's appreciated 🙂🙏
Very clear specially as you mentioned WHY and WHEN we can specifically use volumes. Thank you a bunch!
I was going to watch a several videos, but this one answered all my questions in 6 minutes. Thank you!
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!
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!
And I have been losing years everytime I come back to volumes. Now it's crystal clear.
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!
Extremely helpful, thank you so much! You solved my hour long problem in 3 minutes
can't believe i just found this channel now...thank you for the best explanation! subscribed!
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
Thanks Shaun!
this is the best resource I've found for understanding containerization technologies. thanks for your hard work!
the section on how to define shared volumes in the docker compose file was really helpful. Thank you! I subscribed!
Thank you! You made this very clear in the first minute or so. Exactly what I needed.
Another great video by Nana where she explains things so well. Thanks so much! :)
Clear and to the point, now I finally know what named volumes are for! Thanks!
Glad it was helpful John, thanks for your comment! :)
One of the best explanation about docker volumes. Thank you Nana it's very helpful!
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! =]
Not only she explained what volumes are , she even explained how to replicate a database using volumes in just 6 minutes!!!! HOLY MOLY . Ty !
Nana is the best.... thank you for this brief yet comprehensive explanation.
Your work is admirable, your way of teaching is admirable simply great!!!!
Wow ... Infinity thanks. After of this explanation, I understand very good how to use volumes correctly... Again... Thank you very much!
Just what i need to do in production and what i want to explain to my team. Awesome 👍
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.
Thanks a lot, really happy to hear!
I Like How Your Explanation Is Short And Direct. Very Helpful. THKS !
That's wonderful Mohamed. Happy to hear. Thank you. 🙂
You have made docker very simple. Thank You for superb explanation.
Clear, simple and nice :) Perfect explanation !
Actually insanely well explained. Thank you, will subscribe.
Perfect explanation! Clear, well paced and to the point!
Thank you 🙏
Great job Nana. Thank you
Thank you so much for the info ! I have a question can we use docker volume instead of installing packages each time in docker file
Best volume explanation I've ever seen.
Awesome explanation!
You are always super Nana in explaining the concepts really simple words. It works like a charm every time.
You are great.
I appreciate the compliment. Thank you. 🙂
Seen so many videos but not satisfied with any of them. Your way of presentation is awesome. Keep doing. Good luck👍
Thanks a lot Kumar 😇
Thank you a lot! Short and precise explanation!
Nana, You are the best. Thank you very much!
Thanks! explained very well in a very short amount of time.
Amazing explanation! like it so much. I watched too many tutorials for volumes before but didn't get it, Thanks
one of the best educators i have come across
Awesome explanation! Thanks! 🥰🥰🥰
great job, i watch like 3hours of your video, great explaination, nice job, thx
perfectly explained. thank you so much.
You’re my go to reference for learning keep up the great job!
Was confused out of my tree focusing on the first type of volume, not realizing that their was 3. Great video.
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
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.
Excellent Buddy.. clarified with one video..if possible try to explain on bind mounts
These videos are 🔥!
Thanks for making them :)
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?
Sharp, To the point. Stay Blessed!
minimal and crisp, I loved it!
Thank you Matheus. Your support is much appreciated. 🙂
Thanks a lot very easy to follow and to the point.
love the graphical representation, thank you
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
Great Work, Nana! Thank you! :)
the best tutorial for docker volumes out there
Thank you Kim 😊
like always, great presentation. I wish we had you as a teacher in uni...
Thanks for the video Nana! This really helped me in my journey in understanding docker
Thank you, glad that my videos are helpful :)
Thank you, this is very concise!
I'm surprised this vid has so few views. You explained really well and concisely.
Hi Uriel, thanks for your comment! I also think I deserved more views 😀Please share the content :)
Fantastic video - great explanation with just enough visual!
Thanks a lot Doug! Really happy you like my explanation and visuals :)
Thanks for the video, stay inspired!
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)?
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.)
Excellent insight in short time. Great work. Expecting more learning & videos from you :)
Thank you! Please don't forget to share the knowledge with your friends. 🙂
Best explanation I have already found.
Nana, for me, if im stuck in docker, i just land up to your channel !
Muy buen video acerca de volúmenes. Buena !
hey nana did you have a more in depth video of this topic? thanks for all your content
Thanks a lot for this video! Exactly what I needed to my project :D
I hope you aced your project Nic. Best of luck! 🙂
Thank you, you made it simple.
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 ?
What would you put for the image when creating a docker compose file?
Simple and clear. Thanks.
Brilliant video once again Nana! Thanks
Thank you Nana, this was brilliant
Very good presentation with relevant information !!!
Thank you very much !!!
You're welcome, glad the video is helpful :)
You are THE GOAT
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
you are the best, really like your tutorials
Perfect, thank you!
Hey Nana, this video was very clear and helpful. Can you make a video about different types of mount as well explaining difference b/w bind and volume mount.
Thanks Raman. Will consider that for future content. Stay safe. 🙂
great, thank you for these details!
You're welcome, happy you liked it :)
superbly explained 👍🏽
it was really clear and concise
Love that you find it that way. Thank you. 🙂
you are really awesome NANA, it was to the point. BTW i like your voice which kept me focused.
Thank you! Appreciate your feedback 😊
This was amazing! Thank you :)