Docker Volumes explained in 6 minutes

Sdílet
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.

Komentáře • 333

  • @TechWorldwithNana
    @TechWorldwithNana  Před 4 lety +60

    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 Před 3 lety

      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 Před 3 lety

      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 Před rokem

      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 Před 18 dny

      Don't work with postgres containers. Asks for user. Pass error

  • @peteconnolly
    @peteconnolly Před 4 lety +134

    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

  • @sravanchithari13
    @sravanchithari13 Před 4 lety +19

    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 :)

  • @yinonelbaz5309
    @yinonelbaz5309 Před rokem +1

    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!!!

  • @mubafaw
    @mubafaw Před 2 lety +20

    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!

  • @armankarimi9209
    @armankarimi9209 Před 2 lety +2

    Your videos are great! The official documents of Docker are so vague and incomprehensible, but you simplify and present these concepts so wonderfully.

  • @SnowmEVE
    @SnowmEVE Před 4 lety +21

    Great video.
    Not sure why the official volume docs don't follow a similar structure like this.

  • @vasudevjamwal
    @vasudevjamwal Před 3 lety +4

    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.

  • @jaimecarranza7872
    @jaimecarranza7872 Před 4 lety +7

    Excellent lesson! Easily digestible and thorough. I was confused about named volumes in docker compose files, this totally cleared it up in a hurry.

  • @ivanbogdan185
    @ivanbogdan185 Před 3 lety +6

    Best resource about Docker Volumes on the web. God bless. Keep it up!

  • @rafa7730
    @rafa7730 Před 3 lety +7

    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!

  • @farzadsole3784
    @farzadsole3784 Před 4 lety +5

    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  Před 4 lety +1

      Wow thanks, very happy to hear that my video is so helpful! Would appreciate your support by sharing my videos or subscribe :)

  • @zakhorpa
    @zakhorpa Před 4 lety +3

    After hanging around dozens of tutorials at last I got the Volumes puzzle solved here. Thank you!

  • @Nakameguro97
    @Nakameguro97 Před 2 lety

    The best explanation of docker volumes on YT! The double indirection of named volumes threw me off, but your diagrams describe it perfectly.

  • @torrvic1156
    @torrvic1156 Před 5 měsíci +2

    Thank you miss Nana! That was a very short and sweet explanation of a VERY complex subject!

  • @pallavkan
    @pallavkan Před 3 lety +6

    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  Před 3 lety +2

      Thank you so much Pallav, happy one can notice the efforts I put into my videos and it's appreciated 🙂🙏

  • @arsalanharouni2058
    @arsalanharouni2058 Před rokem

    Very clear specially as you mentioned WHY and WHEN we can specifically use volumes. Thank you a bunch!

  • @AhmedShakil
    @AhmedShakil Před 2 lety

    I was going to watch a several videos, but this one answered all my questions in 6 minutes. Thank you!

  • @user-ye8nb9nm6t
    @user-ye8nb9nm6t Před 3 lety

    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!

  • @Capture.Castle
    @Capture.Castle Před 2 lety +1

    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 Před rokem

      And I have been losing years everytime I come back to volumes. Now it's crystal clear.

  • @lefxxwill7740
    @lefxxwill7740 Před 2 lety

    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!

  • @randykitchleburger2780
    @randykitchleburger2780 Před 2 lety +1

    Extremely helpful, thank you so much! You solved my hour long problem in 3 minutes

  • @smarttradzt4933
    @smarttradzt4933 Před 2 lety +1

    can't believe i just found this channel now...thank you for the best explanation! subscribed!

  • @shaunmcdougall9749
    @shaunmcdougall9749 Před 4 lety +5

    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

  • @maboesanman
    @maboesanman Před 3 lety

    this is the best resource I've found for understanding containerization technologies. thanks for your hard work!

  • @moises8war
    @moises8war Před 3 lety

    the section on how to define shared volumes in the docker compose file was really helpful. Thank you! I subscribed!

  • @moe45673
    @moe45673 Před rokem

    Thank you! You made this very clear in the first minute or so. Exactly what I needed.

  • @carlellis9647
    @carlellis9647 Před 2 lety

    Another great video by Nana where she explains things so well. Thanks so much! :)

  • @johnczaia9124
    @johnczaia9124 Před 4 lety +2

    Clear and to the point, now I finally know what named volumes are for! Thanks!

  • @IvasyukRuslan
    @IvasyukRuslan Před 2 lety

    One of the best explanation about docker volumes. Thank you Nana it's very helpful!

  • @j4t1nd3r
    @j4t1nd3r Před 3 lety +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! =]

  • @hassannaveed368
    @hassannaveed368 Před 3 lety +5

    Not only she explained what volumes are , she even explained how to replicate a database using volumes in just 6 minutes!!!! HOLY MOLY . Ty !

  • @dxb_coder6625
    @dxb_coder6625 Před 2 lety +1

    Nana is the best.... thank you for this brief yet comprehensive explanation.

  • @howbeautifulwillbetheparad5967

    Your work is admirable, your way of teaching is admirable simply great!!!!

  • @filthkyory
    @filthkyory Před rokem +1

    Wow ... Infinity thanks. After of this explanation, I understand very good how to use volumes correctly... Again... Thank you very much!

  • @2427roger
    @2427roger Před 3 lety

    Just what i need to do in production and what i want to explain to my team. Awesome 👍

  • @Mo7dBa7rani
    @Mo7dBa7rani Před 4 lety +3

    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.

  • @mohamedarfaoui677
    @mohamedarfaoui677 Před 3 lety +1

    I Like How Your Explanation Is Short And Direct. Very Helpful. THKS !

  • @sujeetkumar.
    @sujeetkumar. Před 2 lety

    You have made docker very simple. Thank You for superb explanation.

  • @lioncoding
    @lioncoding Před 2 lety +1

    Clear, simple and nice :) Perfect explanation !

  • @tomascoelhopinto
    @tomascoelhopinto Před rokem

    Actually insanely well explained. Thank you, will subscribe.

  • @perdaboy
    @perdaboy Před 4 lety +1

    Perfect explanation! Clear, well paced and to the point!

  • @JalilHasanov
    @JalilHasanov Před 9 měsíci

    Great job Nana. Thank you

  • @shubhamgawali8030
    @shubhamgawali8030 Před 8 měsíci

    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

  • @StanleySathler
    @StanleySathler Před 3 lety

    Best volume explanation I've ever seen.

  • @saharadhungana641
    @saharadhungana641 Před 7 měsíci

    Awesome explanation!

  • @er.vikramkumarpundir8073
    @er.vikramkumarpundir8073 Před 3 lety +3

    You are always super Nana in explaining the concepts really simple words. It works like a charm every time.
    You are great.

  • @Kumar99553
    @Kumar99553 Před 3 lety +7

    Seen so many videos but not satisfied with any of them. Your way of presentation is awesome. Keep doing. Good luck👍

  • @marwanmakarem5860
    @marwanmakarem5860 Před 3 lety

    Thank you a lot! Short and precise explanation!

  • @stone8905
    @stone8905 Před rokem

    Nana, You are the best. Thank you very much!

  • @husnainfayaz
    @husnainfayaz Před 2 lety

    Thanks! explained very well in a very short amount of time.

  • @rehababdelwahab1906
    @rehababdelwahab1906 Před 3 lety

    Amazing explanation! like it so much. I watched too many tutorials for volumes before but didn't get it, Thanks

  • @sandeepsundaram5577
    @sandeepsundaram5577 Před 3 lety

    one of the best educators i have come across

  • @jomarmorais3910
    @jomarmorais3910 Před 6 měsíci +2

    Awesome explanation! Thanks! 🥰🥰🥰

  • @Lunolux
    @Lunolux Před rokem +1

    great job, i watch like 3hours of your video, great explaination, nice job, thx

  • @yuriyk8002
    @yuriyk8002 Před 3 lety +1

    perfectly explained. thank you so much.

  • @brookster7772
    @brookster7772 Před 6 měsíci +1

    You’re my go to reference for learning keep up the great job!

  • @MccZerk
    @MccZerk Před 2 měsíci

    Was confused out of my tree focusing on the first type of volume, not realizing that their was 3. Great video.

  • @chjethan2537
    @chjethan2537 Před 3 lety +1

    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

  • @mumblic
    @mumblic Před 3 lety

    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.

  • @abhinavsrirangam
    @abhinavsrirangam Před 3 lety +1

    Excellent Buddy.. clarified with one video..if possible try to explain on bind mounts

  • @PeterOeC
    @PeterOeC Před 2 lety +1

    These videos are 🔥!
    Thanks for making them :)

  • @jyothikadiyala8119
    @jyothikadiyala8119 Před 3 lety +2

    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?

  • @sirishreddyg
    @sirishreddyg Před 6 měsíci

    Sharp, To the point. Stay Blessed!

  • @MrPikoka
    @MrPikoka Před 3 lety +1

    minimal and crisp, I loved it!

  • @abbba2
    @abbba2 Před 3 lety

    Thanks a lot very easy to follow and to the point.

  • @nagarjunahota4498
    @nagarjunahota4498 Před rokem +1

    love the graphical representation, thank you

  • @bama2619
    @bama2619 Před 2 lety

    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

  • @aurellungu8202
    @aurellungu8202 Před 3 lety +1

    Great Work, Nana! Thank you! :)

  • @kimkiamco3292
    @kimkiamco3292 Před 3 lety +2

    the best tutorial for docker volumes out there

  • @PouyaAtaei
    @PouyaAtaei Před rokem

    like always, great presentation. I wish we had you as a teacher in uni...

  • @Aprilwindz
    @Aprilwindz Před 4 lety +1

    Thanks for the video Nana! This really helped me in my journey in understanding docker

  • @sethpolley7999
    @sethpolley7999 Před 2 lety

    Thank you, this is very concise!

  • @uriel4829
    @uriel4829 Před 4 lety +3

    I'm surprised this vid has so few views. You explained really well and concisely.

    • @TechWorldwithNana
      @TechWorldwithNana  Před 4 lety +2

      Hi Uriel, thanks for your comment! I also think I deserved more views 😀Please share the content :)

  • @dougdecoursin9919
    @dougdecoursin9919 Před 3 lety +2

    Fantastic video - great explanation with just enough visual!

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety

      Thanks a lot Doug! Really happy you like my explanation and visuals :)

  • @Tolmachovtv
    @Tolmachovtv Před 2 měsíci

    Thanks for the video, stay inspired!

  • @Xanagandr
    @Xanagandr Před 3 lety +2

    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 Před 3 lety +1

      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.)

  • @pclp3202
    @pclp3202 Před 3 lety +1

    Excellent insight in short time. Great work. Expecting more learning & videos from you :)

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +1

      Thank you! Please don't forget to share the knowledge with your friends. 🙂

  • @marekr.9339
    @marekr.9339 Před rokem

    Best explanation I have already found.

  • @JustinPhilip1
    @JustinPhilip1 Před 3 lety

    Nana, for me, if im stuck in docker, i just land up to your channel !

  • @tequilandre
    @tequilandre Před 4 lety +1

    Muy buen video acerca de volúmenes. Buena !

  • @samucancld
    @samucancld Před rokem

    hey nana did you have a more in depth video of this topic? thanks for all your content

  • @nicolasbatista4342
    @nicolasbatista4342 Před 3 lety +2

    Thanks a lot for this video! Exactly what I needed to my project :D

  • @LOogt
    @LOogt Před 2 lety

    Thank you, you made it simple.

  • @MichaelZamir
    @MichaelZamir Před 11 dny

    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 ?

  • @Grubbyberserker
    @Grubbyberserker Před 8 měsíci

    What would you put for the image when creating a docker compose file?

  • @nvgomez111
    @nvgomez111 Před 3 lety

    Simple and clear. Thanks.

  • @SohailKhan-ll9kh
    @SohailKhan-ll9kh Před 2 lety

    Brilliant video once again Nana! Thanks

  • @AbdelrahmanMoussaAbuOuf

    Thank you Nana, this was brilliant

  • @prasanass
    @prasanass Před 4 lety +3

    Very good presentation with relevant information !!!
    Thank you very much !!!

  • @batebo2047
    @batebo2047 Před 9 měsíci +1

    You are THE GOAT

  • @bilalhaidar5588
    @bilalhaidar5588 Před 3 lety +1

    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

  • @nihalkumarsharma7874
    @nihalkumarsharma7874 Před 10 měsíci

    you are the best, really like your tutorials

  • @dawid_dahl
    @dawid_dahl Před 2 lety

    Perfect, thank you!

  • @RamanPreetSingh
    @RamanPreetSingh Před 3 lety +2

    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.

    • @TechWorldwithNana
      @TechWorldwithNana  Před 3 lety +2

      Thanks Raman. Will consider that for future content. Stay safe. 🙂

  • @ccjx_space
    @ccjx_space Před 3 lety +1

    great, thank you for these details!

  • @sowmithreddy18
    @sowmithreddy18 Před rokem

    superbly explained 👍🏽

  • @aleabtu6004
    @aleabtu6004 Před 3 lety +2

    it was really clear and concise

  • @muthuarul88
    @muthuarul88 Před 2 lety +1

    you are really awesome NANA, it was to the point. BTW i like your voice which kept me focused.

  • @samantha.patriot
    @samantha.patriot Před 2 lety

    This was amazing! Thank you :)