Exploring Docker [1] - Getting Started

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ส.ค. 2018
  • In this video we will start to explore docker by talking about the benefits of Docker, looking at commands to work with containers and images, the Dockerfile and more
    Sponsor:
    DevMountain Bootcamp - goo.gl/6q0dEa
    Docker Help Gist:
    gist.github.com/bradtraversy/...
    💖 Become a Patron: Show support & get perks!
    / traversymedia
    Website & Udemy Courses
    www.traversymedia.com
    Follow Traversy Media:
    / traversymedia
    / traversymedia
    / traversymedia
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 456

  • @TraversyMedia
    @TraversyMedia  5 ปีที่แล้ว +148

    There are 2 videos right now, this and the Node/Mongo setup. Let me know of any other Docker tutorials you would like added to the series as far as environment setup, etc (LAMP, Wordpress, Django, etc)

  • @TraversyMedia
    @TraversyMedia  5 ปีที่แล้ว +307

    I just want to mention, I am not pushing Docker or any tech ever on anyone. Some people take me making a tutorial as "You now have to use this". That is not my style. Please never feel like you HAVE to use anything anyone says (Unless it is your boss lol). Do what is best for your workflow. Do not get pressured by the industry that is constantly throwing tech at you. I am going to do a video on this subject soon

    • @shashanksshetty9870
      @shashanksshetty9870 5 ปีที่แล้ว +10

      Traversy Media thanks for this brad. To be frank we had learned a lot from you. It's because of you now we all are about to develop something new, Informative and you have guided us in our passion for coding. We respect your content and we will always look forward for your contents. Thank you. (sorry for my english)

    • @adriandinca5682
      @adriandinca5682 5 ปีที่แล้ว +2

      "Unless it is your boss lol" :))))
      You simply made my day sir! :D

    • @OlegMysianovuch
      @OlegMysianovuch 5 ปีที่แล้ว +7

      It will be very helpfully, if you create video about Kubernetes, because it's from box now, or dividing ENV to dev and prod with deploying it to real server. Also, very interesting subject for learning is load balancing in Docker =)

    • @bawonos024
      @bawonos024 5 ปีที่แล้ว

      Please do that video, Transversy Media. Looking forward to it. Coz every new tech keeps making head explode. Thanks. :D

    • @Nilkamalsha75
      @Nilkamalsha75 5 ปีที่แล้ว

      Looking forward for that video Brad

  • @michael.penrod
    @michael.penrod 5 ปีที่แล้ว +138

    One small analogy that helped me understand the difference between images and containers was consider images like the blueprints, containers are the actual house. You can't build the house without the blueprints (i.e. you need to download the image). Starting a container is like building the house and unlocking the door. Stopping a container is like locking the door. Deleting a container is like tearing the house down.

    • @Bace17
      @Bace17 5 ปีที่แล้ว +2

      tyty

    • @johndoyle3816
      @johndoyle3816 5 ปีที่แล้ว +3

      Nice analogy, I thought about it more in terms of using a daemon to burn game's image onto the computer so I can play the game without the cd.

    • @WhatMACHI
      @WhatMACHI 5 ปีที่แล้ว +1

      Nice analogy!

    • @zhitomirnedyalkow1666
      @zhitomirnedyalkow1666 3 ปีที่แล้ว +1

      Good analogy, I like your approach.

    • @adhishmalviya2408
      @adhishmalviya2408 3 ปีที่แล้ว +1

      nice yaar maza aagya lund khada kardiya bc

  • @philr4665
    @philr4665 5 ปีที่แล้ว +15

    Best Docker intro I've seen yet. I've been trying to hit the ground running implementing Docker, but realised I needed to get a better understating of it. This video hit the spot. THANKS!

  • @mikebailey783
    @mikebailey783 5 ปีที่แล้ว +3

    @Traversy Media - This video is brilliant; you've made the setup of Docker so much clearer than just about all of the tutorials/walkthroughs I'd previously tried. - I'd just about given up due to other pressing matters, but you've been able to cut straight to the quick, allowing me to get going with it in a practical setting. Thank you Brad!

  • @theosky7162
    @theosky7162 4 ปีที่แล้ว +1

    I've watched at least a dozen intro Docker videos, and this is by far the best because you take the time to explain every command as you go! Perhaps counter-intuitive, but seeing the mistakes you make and how you fix them is also excellent. Thanks! You get my thumbs up, and subscription.

  • @eudaimona
    @eudaimona 4 ปีที่แล้ว

    You make some of the best tutorials in the entirety of tech youtube. You always give me just enough information to hit the ground running. Love it!

  • @marcus.edmondson
    @marcus.edmondson 5 ปีที่แล้ว +1

    Your tutorials are by far the easiest to follow and actually understand! Thank you!

  • @alexyap4686
    @alexyap4686 5 ปีที่แล้ว

    you have a gift, i must've read countless articles on docker but have never fully grasped the idea until your video, thank you so much for this

  • @fizzdevdesigns5699
    @fizzdevdesigns5699 ปีที่แล้ว +1

    As before, very clear and straight-to-the-point-while-complete explanations on a subject that might appear mysterious to a beginner (like me!). Thank you so much for offering this treasure trove of tutorials on your channel. Great Content!

  • @greddee
    @greddee 5 ปีที่แล้ว +4

    You're the man Brad. It's so inspiring to see you keep up to date with tech whilst being an awesome teacher as well. Since I'm a student you're the only one I'm currently a patron to and I'm feeling great when I see that monthly transaction to you, knowing that by helping you, you're helping me and hundreds of thousands of other programming students. You're a true source of inpiration!

  • @Super_Cool_Guy
    @Super_Cool_Guy 5 ปีที่แล้ว +4

    *Brad ! i am so happy you are showing us Dockers, i have been waiting for videos from you on this for some time.... thanks man ! i hope you will continue this docker series and hopefully cover **_kubernetes_** as well !*

  • @kcirnitram1958
    @kcirnitram1958 5 ปีที่แล้ว

    I have been using Docker for a few months now and I just wish I would have had this video available when I stated. Your presentation style is absolutely the outstanding, there is no pretense just practical information.

  • @dzengiztafa7964
    @dzengiztafa7964 5 ปีที่แล้ว +1

    Another awesome video by Traversy Media!
    Thank your for sharing your knowledge about this. Best tutorial I found about docker using some hands-on commands & examples

  • @kaikailele
    @kaikailele 5 ปีที่แล้ว +4

    Dear Brad, I have watched a number of videos on the use of containers and couldn't fully understand the need and advantages of using them. But the first 3 minutes of this video totally enlightened me. Thanks so much for the simple and clear explanation!

  • @SolomonKahsai
    @SolomonKahsai 4 ปีที่แล้ว

    Bless you my man!!! you did a much better job than most who claim to be teachers of docker. thank you!!!!!!!

  • @user-rr9pt9ds3i
    @user-rr9pt9ds3i 4 ปีที่แล้ว +4

    Thanks for the great video and tutorial! I'd say keep up with the tutorials - you have a gift for teaching in my honest opinion.

  • @jacobwilsh8517
    @jacobwilsh8517 2 ปีที่แล้ว

    This was incredibly helpful and valuable, thank you. I may keep you on x2 speed and pause to google questions you answer 2 minutes later but you're the best in the biz. I couldn't even figure out how to phrase a google question of editing files in a docker and I didn't get any results, then I gave up and resumed your vid and you're like "I'm sure you guys are wondering how to edit files in the docker, you can actually bash in".

  • @Leoninmiami
    @Leoninmiami 5 ปีที่แล้ว +1

    good stuff! you have a good voice and cadence for these instructional videos. I can listen to you all day.

  • @tarmicle-rowing-3
    @tarmicle-rowing-3 5 ปีที่แล้ว +3

    For windows user: be sure to allow docker to share your drive with guests vm:
    right click on your docker icon into the toolbar -> setting -> shared drives -> check the drive you want to share.
    To refer your current working directory (pwd) use *${pwd}* instead of *$(pwd)* (tested on PowerShell)
    Thanks Brad, awesome job as always

    • @getmaxeddd
      @getmaxeddd 5 ปีที่แล้ว

      thanks man! this comment helped me big time. And yea, it didn't work in gitbash, only PowerShell

  • @ahmedmusawir
    @ahmedmusawir 5 ปีที่แล้ว +2

    THANKYOU! THANKYOU! THANKYOU!!! I have been waiting for this ... heck, I even emailed you about this a month ago ... can't believe it's here ... couldn't have come at a better time for me!!! I would give this 1 million thumbs ups if I could. U da BEST Brad!!! Would like to see a React App deployed in Nginx using Docker with Express and Mongo backend and deployed on Zeit/now ... cuz this is a free platform. Plz spoil us ... (just an FYI, bought all your courses on Udemy and if you drop a Docker/React course on Udemy, I'll be the first one to buy!!) ... Thanx again. God bless you bro!!

  • @evilflowx
    @evilflowx 3 ปีที่แล้ว

    Thank you very much for this video! This is one of the most informative containers videos that I've come across yet.

  • @MrSaurabhDeva
    @MrSaurabhDeva 3 ปีที่แล้ว

    You are awesome Brad, I like your videos and it is fantastic one for the docker initial understanding, you nicely explained every steps for beginner who is starting Docker.

  • @amoghphadke
    @amoghphadke 5 ปีที่แล้ว

    I can't thank you enough, your bootstrap and JS courses have helped me tremendously. Lucky to have a person like you, thanks Brad.

  • @Henkboom1612
    @Henkboom1612 2 ปีที่แล้ว

    This is an excellent tutorial, thank you so much for making this. Before this I had only a very vague idea as to what Docker is; I always just used VM's to do what I needed to do, but now I can see why people prefer Docker over VM's.

  • @sreid70
    @sreid70 5 ปีที่แล้ว

    Awesome! Really like the way you explain things. Nice to see the concepts demonstrated without using some over complicated example.

  • @RolandoEscalona
    @RolandoEscalona 5 ปีที่แล้ว

    I just started working with Docker and you somehow bring this to my life, THANK YOU SO MUCH!

  • @juanpaul6141
    @juanpaul6141 5 ปีที่แล้ว

    Brad you never cease to amaze me with the content you generate.

  • @michaelsinoplis8938
    @michaelsinoplis8938 4 ปีที่แล้ว +81

    For anyone wondering, the equivalent of '$(pwd)' on windows cmd is '%cd%' .

    • @curtbryan4620
      @curtbryan4620 4 ปีที่แล้ว +15

      For windows users using powershell, you can replace '$(pwd)' with '${PWD}'

    • @billwindsor4224
      @billwindsor4224 4 ปีที่แล้ว +1

      Thank you both for this!

    • @pragueexpat5106
      @pragueexpat5106 4 ปีที่แล้ว +1

      %cd% is not working, just cd is working

    • @fergusflanagan
      @fergusflanagan 4 ปีที่แล้ว

      %cd% worked for me, thank you

    • @curtbryan4620
      @curtbryan4620 4 ปีที่แล้ว +2

      @@pragueexpat5106 For windows users using powershell, you can replace '$(pwd)' with '${PWD}'

  • @bishnubasyal5861
    @bishnubasyal5861 2 ปีที่แล้ว

    Best docker introduction video I have watched sor far.

  • @jonatasoliveira500
    @jonatasoliveira500 3 ปีที่แล้ว

    The best content I've found for Docker! Thanks!!

  • @dualvideoviralguytalksincar
    @dualvideoviralguytalksincar ปีที่แล้ว

    Again coming to you!
    Happy to start again and again

  • @MrWilde
    @MrWilde 5 ปีที่แล้ว +21

    Yes I have been waiting for this one, thanks Brad.

  • @ononaoyaa
    @ononaoyaa 5 ปีที่แล้ว +4

    Finally a Docker tutorial from Brad :D Thank you!

  • @sashapatsel7170
    @sashapatsel7170 5 ปีที่แล้ว

    Thanks for the consistently excellent videos, Brad!

  • @AbhishekNigam
    @AbhishekNigam 5 ปีที่แล้ว +1

    Thank you so much!! You made docker really easy

  • @merugu4790
    @merugu4790 4 ปีที่แล้ว

    Really awesome tutorial and one of the best explanation on docker fundamentals
    Thank you so much..

  • @mau_lopez
    @mau_lopez 5 ปีที่แล้ว +1

    Great tutorial! I really appreciate it, thanks a lot and thanks for the Gist as well, very helpful

  • @dmurphydrtc
    @dmurphydrtc 5 ปีที่แล้ว

    Thanks for taking the time to share your knowledge and time. Love your work.

  • @jcabelloc
    @jcabelloc 5 ปีที่แล้ว

    Thank you Brad. This video is awesome as all you share with us.

  • @moeinsamani1467
    @moeinsamani1467 7 หลายเดือนก่อน

    Thank you Brad. I have nothing to say, I just say you made my day:)

  • @kerimtim
    @kerimtim ปีที่แล้ว

    22:48 Yes. This is what I was looking to know. Thanks again Brad.

  • @rabrahierpa
    @rabrahierpa 5 ปีที่แล้ว

    Thank you so much Brad. I have been waiting for you to explain docker as simple as possible.

  • @_marcinrakowski
    @_marcinrakowski 5 ปีที่แล้ว

    Brad, I get so informed from your videos here and on Udemy. you’re a great teacher.

  • @iamtolonly
    @iamtolonly 5 ปีที่แล้ว +1

    hi bard thank you for all your work i just wanna say i was waiting for this course a long time ago all thanks to you man
    من اروع الاشخاص الي تقدر تتعلم منه اشياء كثيره شرح مبسط وتصل المعلومات بكل سهوله شكرا bard

  • @mayank_upadhyay_19
    @mayank_upadhyay_19 4 ปีที่แล้ว +1

    To follow this tutorial, I had to go through a lot of work.
    I had to update my windows 10 home to latest version (never updated my windows 10 for last 3 years). Took 5 hours.
    Then I had to convert it to the pro version of windows 10.
    And also, fix some of the inconsistencies that arised with my already installed software. (basically docker will work without it)
    After doing all this, I say that it was one of the turning points where you push the boundaries and enter into a different league of development.
    Edit: ***all the thanks to this video***

  • @empuraan4710
    @empuraan4710 ปีที่แล้ว

    Got enough from this tutorial and the comments below to get stuff from work up and running ... thanks !

  • @kim92se64
    @kim92se64 5 ปีที่แล้ว

    So much thanks Sir for creating these two tutorials regarding Docker
    this help me a lot
    Take care
    imran

  • @JoeBob79569
    @JoeBob79569 5 ปีที่แล้ว

    I just installed Docker last night, and you've a tutorial uploaded for me just in time.. thanks! :-)

  • @munapadhi8723
    @munapadhi8723 4 ปีที่แล้ว

    Hi Brad,
    Please make video for kubernet as well. This docker tutorial is awesome. You are the best teacher for my life ever.
    Thanks for your hard work

  • @nemanjavukovic2355
    @nemanjavukovic2355 5 ปีที่แล้ว

    Excellent video. Don`t know anything about docker, and this video helped me a lot. Great work Brad

  • @pietrosammarco645
    @pietrosammarco645 5 ปีที่แล้ว

    This is really a awesome introduction and hands on. Thanks a lot. :)

  • @olivert.7192
    @olivert.7192 5 ปีที่แล้ว

    You're a great teacher and explainer, always enjoy your videos. Keep it up

  • @khaledsakkaamini4743
    @khaledsakkaamini4743 4 ปีที่แล้ว

    as always life saving video thanks brad keep it up 🙌🏻

  • @albertoarielarce2982
    @albertoarielarce2982 3 ปีที่แล้ว

    You are the best in your job, thank!

  • @TheGreatDaniad
    @TheGreatDaniad 4 ปีที่แล้ว

    You are the best instructor. Thanks.

  • @dipanzan
    @dipanzan 5 ปีที่แล้ว

    Brad thank you so much! I wish I could give you a hug.

  • @oksanaserhiivna2634
    @oksanaserhiivna2634 5 ปีที่แล้ว +1

    Thanks Brad for doing all this. :)

  • @gifteddiz
    @gifteddiz 5 ปีที่แล้ว +3

    Just the best explanation! I’ve finally got comfortable with docker, many thanks

  • @mostafaatef4584
    @mostafaatef4584 4 ปีที่แล้ว

    MANNNNNNN , You are AMAZINGGGGGGGGGG
    Javascript
    Angular
    Typescript
    bootstrap
    react
    redux
    gulp
    grant
    all of these and now docker
    really you helped me a lot

  • @toyinatofarati5512
    @toyinatofarati5512 5 ปีที่แล้ว

    Traversy Media a blessing to our generation

  • @tjtechi4448
    @tjtechi4448 5 ปีที่แล้ว +3

    Seems I happen to view this first. Cool cool. I didn't know nothing about docker but yeah Brad, well done sir. I appreciate you a lot and your work.

  • @aio6257
    @aio6257 5 ปีที่แล้ว

    I wish you uploaded this video a several months ago when I was in a great need of learning docker. I lost my freelance task Because there was no good resource on TH-cam about it. Anyways you're the best, trust me.

  • @lbp003
    @lbp003 2 ปีที่แล้ว

    Thank you very much! You showed that everything that I confused to understand these days

  • @md.shariarkabir7350
    @md.shariarkabir7350 4 ปีที่แล้ว

    i know here i get the best teacher for tech. thank brad

  • @srikantprasad6711
    @srikantprasad6711 4 ปีที่แล้ว

    Thanks for this type of video. There are not such types of videos in TH-cam.

  • @hambaghini
    @hambaghini 5 ปีที่แล้ว +73

    This is awesome! Would love to see an Exploring Kubernetes as well!

    • @kzakaria91
      @kzakaria91 5 ปีที่แล้ว

      yep logical next step

    • @catharsis222
      @catharsis222 4 ปีที่แล้ว

      @@kzakaria91 highly agree.

  • @andreekzz
    @andreekzz 5 ปีที่แล้ว

    Awersome! Brad, thank alot! With no doubt - I can call you my teacher. I`m start with your udemy courses from JavaScript and Node.js scratch and scale my professional grow step by step. Do more videos like that.

  • @MrLarryQ
    @MrLarryQ 5 ปีที่แล้ว +3

    Tremendous stuff Brad. If you're doing a third or fourth video, I'd recommend exploring creating a docker network and then a swarm, since in my experience that's where most people get tripped up-- trying to make this stuff production-ready. I'd be less concerned about Kubernetes at this point IMO, just focus on a 100% 'pure' docker solution.

    • @johnnydriesen7575
      @johnnydriesen7575 5 ปีที่แล้ว

      Yeah, a little 'swarm' example would be welcome....

  • @jasminem360
    @jasminem360 4 ปีที่แล้ว +1

    “hopefully that makes sense !” haha, i love the way you explain things, make sense for me :P

  • @cyb3rboy1986
    @cyb3rboy1986 4 ปีที่แล้ว

    It was oneofthebest docker tutorial
    Thanks a lot

  • @mikequinn
    @mikequinn 5 ปีที่แล้ว

    You don't need to keep puttng "container" or "image" in your docker commands. i.e. docker run is only applicable to containers, as is stop/start etc.
    "docker rm" is only applicable to containers, you want to remove an image then "docker rmi "
    Less typing is better

  • @chandikalakshan468
    @chandikalakshan468 2 ปีที่แล้ว

    I'm following this in 2022. Thank you Brad.

  • @MrVelyx
    @MrVelyx 4 ปีที่แล้ว

    First time i understood Docker. Nice Job man

  • @Skaxarrat
    @Skaxarrat 5 ปีที่แล้ว +1

    I'm a windows 10 user and it took me around 1 hour to mount an image. Thanks to the help of the comments here and forums. This is what you need to do:
    Go to Docker settings -> General. Check Expose Daemon on tcp....
    Go to Shared Drivers and check your drive(s) you want to share. Sometimes you check and it unchecks back. Check it once and even it seems unchecked, reboot Docker. That might help
    Instead of $(pwd), use /c/...your route instead. For example, I typed this:
    C:\Users\Void\Desktop\Codi\Docker>docker container run -d -p 8080:80 -v /c/Users/Void/Desktop/Codi/Docker:/usr/share/nginx/html --name nginx-website2 nginx
    And now it works.

    • @matsredman7640
      @matsredman7640 5 ปีที่แล้ว

      Thanks man! Worked for me also!

  • @raulcubitto
    @raulcubitto 5 ปีที่แล้ว

    Amazing tutorial, easy to understand and to the point.

  • @ramakrishnaindia
    @ramakrishnaindia 3 ปีที่แล้ว

    Absolutely cool video. Very well explained.

  • @TheEmperorXavier
    @TheEmperorXavier 4 ปีที่แล้ว

    This was a great quick starter video

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 5 ปีที่แล้ว +6

    You're a lifesaver , that's what you are Brad!!

  • @alecmather
    @alecmather 3 ปีที่แล้ว

    Brad just doing gods work, once again...
    Btw, great analogy of difference between images and containers:
    Images are to containers as classes are to class instances
    Only helpful if you understand that programming concept lol, but the idea is there

  • @carlosabud
    @carlosabud 5 ปีที่แล้ว

    Great video. Thank you Brad!

  • @TheYAWHNIE
    @TheYAWHNIE 5 ปีที่แล้ว

    Thanks a lot ... very well put for newbie.

  • @ok-ze2ft
    @ok-ze2ft 5 ปีที่แล้ว

    You're doing a very great job, providing us awesome tutorial... god bless you always...

  • @technics6215
    @technics6215 5 ปีที่แล้ว

    Very good tutorial. Thank you!

  • @e4r281
    @e4r281 5 ปีที่แล้ว

    I was too lazy to learn docker by myself. Thanks Traversy Media for teaching me :)

  • @arsalanahmad1832
    @arsalanahmad1832 4 ปีที่แล้ว

    its really awsume video and really very helpful. Thanks a lot

  • @henryusa4157
    @henryusa4157 3 ปีที่แล้ว

    Really appreciate this, thanks!

  • @raymondmichael4987
    @raymondmichael4987 5 ปีที่แล้ว

    I know nothing about Docker apart from just hearing about how cool it is; thanks dude, now I'll get my fill

  • @doncorleone3901
    @doncorleone3901 5 ปีที่แล้ว

    Brad Traversy is the absolute best

  • @MattKnowsTech
    @MattKnowsTech 5 ปีที่แล้ว +6

    Until now, I really didn't understand the purpose of docker. After watching this video, it makes so much more sense. So I assume this is a very easy way of deploying applications to the internet such as a digital ocean droplet. Instead of using digital ocean one click installs and installing a bunch of crap, you can just pull your image from your dockerhub profile. I can also see how this can help with Wordpress migration, as that can be a bit tricky.

  • @johnmarkdalida5394
    @johnmarkdalida5394 5 ปีที่แล้ว

    Thank you traversy media! :)

  • @abdullahrehmat4341
    @abdullahrehmat4341 5 ปีที่แล้ว

    Thanks for this epic tutorial!!

  • @narender64
    @narender64 ปีที่แล้ว

    very good presention! thank you!

  • @jasongoncalves4734
    @jasongoncalves4734 5 ปีที่แล้ว

    awesome, thanks for this brad!

  • @CoryMcaboy
    @CoryMcaboy 5 ปีที่แล้ว

    I've been waiting for this!

  • @phillipspencer1321
    @phillipspencer1321 5 ปีที่แล้ว

    Thumbs up for learning something at the same time.

  • @leeritenour
    @leeritenour 5 ปีที่แล้ว

    This is super awesome! Thanks!

  • @kerimtim
    @kerimtim ปีที่แล้ว

    Brad. Your videos are very helpful. I like when you put a link to gist files.

  • @syedhusain3398
    @syedhusain3398 4 ปีที่แล้ว

    Thank you so much Brad!

  • @deathstalker8509
    @deathstalker8509 4 ปีที่แล้ว

    You are really good at teaching 😀