Exploring Docker [1] - Getting Started

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 460

  • @TraversyMedia
    @TraversyMedia  6 років тому +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  6 років тому +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 6 років тому +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 6 років тому +2

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

    • @OlegMysianovuch
      @OlegMysianovuch 6 років тому +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 6 років тому

      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 6 років тому +139

    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.

    • @SalemGTV
      @SalemGTV 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 4 роки тому +1

      Good analogy, I like your approach.

    • @adhishmalviya2408
      @adhishmalviya2408 4 роки тому +1

      nice yaar maza aagya lund khada kardiya bc

  • @tarmicle-rowing-3
    @tarmicle-rowing-3 6 років тому +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

  • @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 6 років тому +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.

  • @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

  • @greddee
    @greddee 6 років тому +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!

  • @L84PA-T
    @L84PA-T 4 місяці тому

    A hands-on tutorial that's easy to follow. Thank you!

  • @kaikailele
    @kaikailele 6 років тому +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!

  • @kcirnitram1958
    @kcirnitram1958 6 років тому

    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.

  • @fizzdevdesigns5699
    @fizzdevdesigns5699 2 роки тому +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!

  • @bishnubasyal5861
    @bishnubasyal5861 2 роки тому

    Best docker introduction video I have watched sor far.

  • @marcus.edmondson
    @marcus.edmondson 5 років тому +1

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

  • @jacobwilsh8517
    @jacobwilsh8517 3 роки тому

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

  • @SolomonKahsai
    @SolomonKahsai 5 років тому

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

  • @empuraan4710
    @empuraan4710 2 роки тому

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

  • @jackblack2615
    @jackblack2615 5 років тому

    I have been following this channel for a while, and today I can not thank you enough for your explanation on docker. You just helped me survive my cs program.

  • @mikequinn
    @mikequinn 6 років тому

    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

  • @srikantprasad6711
    @srikantprasad6711 4 роки тому

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

  • @amoghphadke
    @amoghphadke 6 років тому

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

  • @toyinatofarati5512
    @toyinatofarati5512 6 років тому

    Traversy Media a blessing to our generation

  • @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

    • @oflanagain
      @oflanagain 4 роки тому

      %cd% worked for me, thank you

    • @curtbryan4620
      @curtbryan4620 4 роки тому +2

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

  • @md.shariarkabir7350
    @md.shariarkabir7350 4 роки тому

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

  • @RolandoEscalona
    @RolandoEscalona 6 років тому

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

  • @juanpaul6141
    @juanpaul6141 6 років тому

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

  • @eudaimona
    @eudaimona 5 років тому

    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!

  • @_marcinrakowski
    @_marcinrakowski 5 років тому

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

  • @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.

  • @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.

  • @Super_Cool_Guy
    @Super_Cool_Guy 6 років тому +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 !*

  • @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

  • @mayank_upadhyay_19
    @mayank_upadhyay_19 5 років тому +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***

  • @chandikalakshan468
    @chandikalakshan468 2 роки тому

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

  • @kerimtim
    @kerimtim Рік тому

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

  • @MrLarryQ
    @MrLarryQ 6 років тому +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 6 років тому

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

  • @hambaghini
    @hambaghini 6 років тому +73

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

    • @kzakaria91
      @kzakaria91 6 років тому

      yep logical next step

    • @GoonCity777
      @GoonCity777 4 роки тому

      @@kzakaria91 highly agree.

  • @rabrahierpa
    @rabrahierpa 6 років тому

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

  • @Leoninmiami
    @Leoninmiami 6 років тому +1

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

  • @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.

  • @guylemay1471
    @guylemay1471 6 років тому

    Two days bashing my head against the keyboard over this video, but in the end it was well worth it - thanks!

  • @lbp003
    @lbp003 2 роки тому

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

  • @moeinsamani1467
    @moeinsamani1467 Рік тому

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

  • @ahmedmusawir
    @ahmedmusawir 6 років тому +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!!

  • @monteymon8
    @monteymon8 6 років тому +3

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

  • @evilflowx
    @evilflowx 4 роки тому

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

  • @sreid70
    @sreid70 6 років тому

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

  • @ahmedboutaraa8771
    @ahmedboutaraa8771 4 роки тому +1

    king of web-dev

  • @TheGreatDaniad
    @TheGreatDaniad 4 роки тому

    You are the best instructor. Thanks.

  • @pdeswardt
    @pdeswardt 6 років тому

    I just got schooled - thanks - now i understand docker so much better!

  • @phillipspencer1321
    @phillipspencer1321 5 років тому

    Thumbs up for learning something at the same time.

  • @doncorleone3901
    @doncorleone3901 6 років тому

    Brad Traversy is the absolute best

  • @ЛъчезарДимитров-з2т
    @ЛъчезарДимитров-з2т 5 років тому +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.

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 6 років тому +6

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

  • @e4r281
    @e4r281 6 років тому

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

  • @MattKnowsTech
    @MattKnowsTech 6 років тому +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.

  • @jonatasoliveira500
    @jonatasoliveira500 3 роки тому

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

  • @ononaoyaa
    @ononaoyaa 6 років тому +4

    Finally a Docker tutorial from Brad :D Thank you!

  • @dmurphydrtc
    @dmurphydrtc 6 років тому

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

  • @raymondmichael4987
    @raymondmichael4987 6 років тому

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

  • @olivert.7192
    @olivert.7192 6 років тому

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

  • @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

  • @JoeBob79569
    @JoeBob79569 6 років тому

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

  • @MrVelyx
    @MrVelyx 5 років тому

    First time i understood Docker. Nice Job man

  • @kerimtim
    @kerimtim Рік тому

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

  • @nemanjavukovic2355
    @nemanjavukovic2355 6 років тому

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

  • @MrWilde
    @MrWilde 6 років тому +21

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

  • @rogeriorodrigues4210
    @rogeriorodrigues4210 5 років тому

    I have been struggling to get started with Docker for a while.
    But after this video I have finally clarified and got a North to go on.
    Thank you very much for the content Brad, keep up with the awesome work!

  • @tjtechi4448
    @tjtechi4448 6 років тому +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.

  • @NabhoneelMajumdar
    @NabhoneelMajumdar 6 років тому

    This is insanely helpful! I had NO idea about what Docker was or why it existed and now it feels like my entire life as a developer was a lie :P

  • @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

  • @raulcubitto
    @raulcubitto 5 років тому

    Amazing tutorial, easy to understand and to the point.

  • @iamtolonly
    @iamtolonly 6 років тому +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

  • @nazhimkalam6842
    @nazhimkalam6842 4 роки тому

    The best series of Docker out there in UA-cam, Appreciate it bro!!!!

  • @dakshsagar2839
    @dakshsagar2839 6 років тому +42

    Suggestion for a future course: Microservices architecture with node

    • @kamalyadav3567
      @kamalyadav3567 6 років тому +2

      what are microservices?

    • @russiainvadedukraine2006
      @russiainvadedukraine2006 5 років тому +4

      @@kamalyadav3567 amazon has a lot of microservices for building your app internal arcitecture. You can combine them to create your app. for example you can choose database, voice recognition service and combine them in your node.js or python app

  • @albertoarielarce2982
    @albertoarielarce2982 3 роки тому

    You are the best in your job, thank!

  • @TheEmperorXavier
    @TheEmperorXavier 5 років тому

    This was a great quick starter video

  • @Yiosho
    @Yiosho 5 років тому

    For those of you that are using the Docker Toolbox (I'm using Windows 10 Home) this is the code you have to use to map to your local folder:
    $ docker container run -d -p 80:80 -v /$(pwd):/usr/share/nginx/html --name nginx-website nginx
    (obviously copy after the $ that indicates a command line command).
    I had this problem when I tried it and found the solution in stackoverflow, so I bring it to you here, happy coding!

  • @cyb3rboy1986
    @cyb3rboy1986 5 років тому

    It was oneofthebest docker tutorial
    Thanks a lot

  • @deathstalker8509
    @deathstalker8509 4 роки тому

    You are really good at teaching 😀

  • @AbhishekNigam
    @AbhishekNigam 6 років тому +1

    Thank you so much!! You made docker really easy

  • @aio6257
    @aio6257 6 років тому

    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 UA-cam about it. Anyways you're the best, trust me.

  • @ramakrishnaindia
    @ramakrishnaindia 4 роки тому

    Absolutely cool video. Very well explained.

  • @jcabelloc
    @jcabelloc 5 років тому

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

  • @prafullaraichurkar4369
    @prafullaraichurkar4369 5 років тому +9

    new syntax to learn everything you need in development :

  • @dipanzan
    @dipanzan 6 років тому

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

  • @ok-ze2ft
    @ok-ze2ft 6 років тому

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

  • @oksanaserhiivna2634
    @oksanaserhiivna2634 5 років тому +1

    Thanks Brad for doing all this. :)

  • @slipperyfish1234
    @slipperyfish1234 6 років тому +2

    Again, another insanely good tutorial! Would love to see how this set up would work on aws EC2

  • @nishantkumar6960
    @nishantkumar6960 4 роки тому

    Thank You, Mr. Angel

  • @munapadhi8723
    @munapadhi8723 6 років тому

    You are my best teacher thanks for you effort good job

  • @merugu4790
    @merugu4790 5 років тому

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

  • @sashapatsel7170
    @sashapatsel7170 5 років тому

    Thanks for the consistently excellent videos, Brad!

  • @kim92se64
    @kim92se64 5 років тому

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

  • @arsalanahmad1832
    @arsalanahmad1832 4 роки тому

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

  • @yominamey3239
    @yominamey3239 6 років тому

    Really very very helpful...much appreciated...fan from India !!

  • @mostafaatef4584
    @mostafaatef4584 5 років тому

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

  • @metaorior
    @metaorior 6 років тому

    THANKS BRAD I WAS WAITING FOR DOCKER

  • @henryusa4157
    @henryusa4157 3 роки тому

    Really appreciate this, thanks!