Intro to Docker - A Tool Every Developer Should Know

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 452

  • @geisty
    @geisty 3 года назад +54

    Your voice is so perfect for coding ed, slow and measured lets it sink in the head, thank you!

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +3

      Thanks!

    • @dabalciunas
      @dabalciunas 2 месяца назад +2

      @@IAmTimCorey You should insure it :-P ... or even better: create a docker image of it!

  • @juanminglao3699
    @juanminglao3699 3 года назад +46

    Hey tim I just want to let you know that almost everything I learned untill now came from you. You are a real great teacher!

  • @smak-123
    @smak-123 2 года назад +8

    00:00 Introduction
    17:18 Setting up a sample server application
    22:55 DOC Hub and Creating Docker Image
    33:10 Docker Image History
    36:40 Running the created Image
    41:58 Docker PS - To list Containers
    54:51 Running External Images

  • @hovhannesabgaryan5238
    @hovhannesabgaryan5238 3 года назад +36

    Finally! I've been waiting for it🥳thank you very much

  • @hareeshtummala4836
    @hareeshtummala4836 2 года назад +12

    Hey Tim,
    Thank you sharing your knowledge on docker. It's really helpful in not just getting started, but understanding the differences between images and containers and how to use them at a development level.

  • @nemanjatrivic9505
    @nemanjatrivic9505 3 года назад +6

    I needed this kind of quick intro, all of the other tutorials were requiring more time investment which i didn't have. Thanks Tim!!!

  • @shiholololo1053
    @shiholololo1053 2 года назад +7

    I will be forever thankful for this free free intro class you have provided. My productivity as a developer has increased 10× just by watching this single video. Thanks for the lesson !

  • @brianjosephblake
    @brianjosephblake 3 года назад +1

    Tim Corey's videos have almost single-handedly advanced my career.

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +2

      Awesome! I'm glad I was able to help.

  • @CAPS_AMERICA
    @CAPS_AMERICA 2 года назад

    I'll be honest Tim, I watched another docker video before watching yours and I wasted 1.5 hours of my life, now I've completed your video and I can say I have a bit of understanding how Docker works, I just need to follow it up by tinkering with it. You're a rock star!

  • @gillesashley9314
    @gillesashley9314 Год назад +1

    What a beginner course this is? Wow. Completely beginner friendly. Thank you Tim.

  • @aspirio777
    @aspirio777 3 года назад +1

    I dont if i read your minds or you read mines, but yesterday I was looking everywhere for a good “intro” to docker and couldn’t find any and today you make a video about it? I dont believe in coincidence

  • @MichaelCapiliEla
    @MichaelCapiliEla 2 года назад +1

    Thanks a lot Tim. I now finally understand how docker works. I need that hands on experience.

  • @laurenzvien
    @laurenzvien 3 года назад

    One thing that I have been waiting from you, Tim. I have watched other videos but didn't really understand.. finally, you have created one.

  • @blakehudson4551
    @blakehudson4551 3 года назад +1

    This video couldn't have came at a better time.

  • @venky76v
    @venky76v 3 года назад +7

    Tim I will be over the moon if you have a Kubernetes course. I went through your Docker course and in my opinion it is one of the best courses I have ever gond through. A big fan of your courses 👍👍

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +9

      I'm working up towards it.

    • @JonathanPeel
      @JonathanPeel 3 года назад

      I might go check this out, see my previous comment, that might be helpful to me right now.

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 3 года назад +2

    Just for more info. In docker build command Tim mentioned that . (dot), it's not dot technically it's the relative path to dockerfile from that current location. Tim open terminal in the same folder as the dockerfile, that is why it's . (dot) meaning current folder location because there is actual dockerfile from which Tim wanted to create image. If the dockerfile is in subfolder, then instead of .(dot) we will have path to that file.
    BTW Great intro, Tim! 🙌

  • @DieterS70
    @DieterS70 Год назад +2

    Thank you very much Tim for sharing your knowledge and creating such high quality content. I really understand now the concept of docker and actually how easy it is to work with it. Great work!

  • @Otonium
    @Otonium 3 года назад +10

    Very helpful, clearly explained as usual Tim.

  • @Louay.kshedan
    @Louay.kshedan Год назад +1

    Hi Tim, thanks for sharing this docker introduction, you've made it easy to understand

  • @nikhileshrajak1362
    @nikhileshrajak1362 2 года назад +1

    Great teaching techniques, it's very helpful for me, and also looking forward for your more contents..

  • @princeonukwili996
    @princeonukwili996 2 года назад +1

    Thank you Tim Corey, all your C# or programming related courses have truly helped me😁

  • @vadimstepanov239
    @vadimstepanov239 2 года назад +1

    Hey Tim, just a little note: docker ps -a is docker ps -a (and not something else) because it mimics UNIX 'ps' command, which stands for "processes"; '-a' stands for 'all', so basically you say "hey docker, list all processes (containers/apps)!" I hope someone will find this useful and it will help them remember the command

  • @ViktorTy
    @ViktorTy 3 года назад +5

    This is the video I didn't know I needed! Thank you, Mr. Corey!

  • @StefanoLabate
    @StefanoLabate 3 года назад +7

    Thank you Tim, that's exactly what I needed! A gentle and complete introduction to this important topic. You rock.

  • @createcodedigitaldesign5354
    @createcodedigitaldesign5354 3 года назад +1

    A more than clear explanation about Docker. Thank you Tim!

  • @michaelsvensson8270
    @michaelsvensson8270 Год назад +1

    This video is absolutely amazing Tim! So good and well explained!

  • @HawkEyeExplorers
    @HawkEyeExplorers 2 года назад

    This video is awesome. Really. I was going through lot of websites and videos to understand docker and containers. Now I am clearly understood. Thanks a lot.

  • @Laiteux
    @Laiteux 3 года назад +1

    Been wondering about Docker for a very long time, thanks to your video I finally learned what it is and how it works, thanks!

  • @lastidea4925
    @lastidea4925 2 года назад +1

    Hey Tim, why you're so good at teaching ❤

    • @IAmTimCorey
      @IAmTimCorey  2 года назад +1

      I am glad you find my content so valuable.

  • @shakhil100
    @shakhil100 2 года назад +1

    Absolutely Awesome, probably the best video I came across about dockers
    😍

  • @tebogolemekoana3013
    @tebogolemekoana3013 3 года назад +1

    Your videos are so helpful man. Thank you so much! I have been watching them for a few years now and each video brings so much insight and clear understanding. Please keep up the great work.

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад

      Thank you for being a faithful follower. Its the sales of courses at www.iamtimcorey.com and Patreon supports that really fund/enable Tim to continue producing this type material. A BIG thank you to them also!

  • @NaikIsKing
    @NaikIsKing Год назад

    Excellent Docker tutorial for beginners

  • @didierfolly
    @didierfolly 5 месяцев назад

    A great video as usual! Thanks Tim for it. Keep teaching us!

  •  3 года назад +1

    Simple but really helpful. I had been postponing learning Docker for a long time, but this tutorial was so light and to the point. Thank you i'll check out the Redis tutorial. Take care Tim.

  • @mateoortiz9286
    @mateoortiz9286 Год назад +1

    This was a really enjoyable and helpful tutorial. Thanks!

  • @branislavpetrovic7486
    @branislavpetrovic7486 3 года назад +1

    Great intro to Docker! Simple and understandable.
    Thanks.

  • @waytosanathan
    @waytosanathan 3 года назад

    You are the Jerry Rigs everything in Coding world. Thanks for great tutorial on the basics

  • @sachinlande7554
    @sachinlande7554 3 года назад +2

    Hey Tim, thank you very much putting so much efforts such high quality content. In just video I have understood whole concept of docker and it’s usefulness.
    Cheers!!

  • @michelchaghoury870
    @michelchaghoury870 3 года назад

    gr8 I want to thank you because I just demanded it like 12 days ago as a comment on your other tut video and now you did it,
    tnx, a lot, please keep going

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад

      Many folks have also asked for this video. Please keep sharing your ideas. It's Tim passion to help folks grow their skills and knowledge.

    • @michelchaghoury870
      @michelchaghoury870 3 года назад

      @@tomthelestaff-iamtimcorey7597 in the timco retail manager series when we finish the development of the apps and tested them can you please show us how to dockerize a
      real-world project so we see a real-world docker scenario, tnx a lot and keep going

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад

      @@michelchaghoury870 Neither Tim ,nor I, provide individual consultations.

    • @michelchaghoury870
      @michelchaghoury870 3 года назад

      @@tomthelestaff-iamtimcorey7597 what I meant is that in the timco retails manager series if he can show us how to use docker with an existing large application made with different projects(db, wpf, web API, blazor), he always ask us to give him Ideas to be later added to the series

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад +1

      @@michelchaghoury870 Got ya! I added these comments to Tim's list.

  • @shahzaibhassan2777
    @shahzaibhassan2777 Год назад

    Commenting Again! You deserve a BILLION SUBS! Man you are great!!!!!!!!!!!!!!!!!

  • @somamuniyappa3310
    @somamuniyappa3310 3 года назад

    Great work Corey, you just made it simple to understand Docker.

  • @xiaoyangshawnhuang1251
    @xiaoyangshawnhuang1251 3 года назад

    Just brilliant Tim, great thanks for sharing this, start to love Docker because of your wonderful introduction.

  •  3 года назад +1

    Hi! your voice and the speed are perfect ! I understood everything dispite I'm not a native speaker. Just a question : do you have any course or videos that cover docker-compose ? :)

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +2

      Thank you! And no, I don't have anything on docker-compose...yet. Stay tuned.

  • @ElCidPhysics90
    @ElCidPhysics90 11 месяцев назад

    This is a great tutorial. Well done, Tim.

  • @marceloleoncaceres6826
    @marceloleoncaceres6826 4 месяца назад

    Thank you Tim, great intro to Docker,

  • @shahzaibhassan2777
    @shahzaibhassan2777 3 года назад +1

    You deserve a million Subs...!

  • @egcoolmauricio
    @egcoolmauricio 3 года назад +2

    You're so good at explaining complex technologies, you make it so easy! thank god I found your channel, I'm learning a lot
    A suggestion, maybe you can create practice course videos, in order, you have different scenarios where you need to fix a bug, or you have to refactor some complex code. Something that you had to deal with in your career. That way you don't only teach us concepts but teach us how to think, and what tool is useful.
    Regards from Argentina.

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +2

      If I understand you correctly, you are looking for a video on how to debug your application. If so, I do that quite a bit in the TimCo Retail Manager series. I also have these videos, which should help you out: ruclips.net/video/d6IYH8Ro9aI/видео.html and ruclips.net/video/_YoKJwSzZOg/видео.html

    • @egcoolmauricio
      @egcoolmauricio 3 года назад +1

      @@IAmTimCorey Thanks for answering, I'm whatching TimCo Retail Manager series. Excelent job by the why.

  • @sabertoothwallaby2937
    @sabertoothwallaby2937 3 года назад

    Thank you so much! Thank you for diving into details that are otherwise ignored.

  • @thfreakinacage
    @thfreakinacage 3 года назад +2

    Top Tip: if you want to move a file to the top level folder of the project, drag it BELOW all the other files. The entire file list sidebar will be highlighted and your file to move to the root :)

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +2

      Thanks for the tip!

    • @thfreakinacage
      @thfreakinacage 3 года назад

      @@IAmTimCorey No worries. It's somewhat counterintuitive as you assume you drag it up as that's how nesting works, but dragging it down always works :)

  • @simon-white
    @simon-white 9 месяцев назад

    Great intro! 42:04 docker ps "why is it not docker containers?" Turns out it is 😃 it's just an alias for "docker container ls" or "docker container list". Their documentation has a whole bunch of aliases. Sometimes the original commands are easier to remember as the logic is more apparent.

    • @IAmTimCorey
      @IAmTimCorey  9 месяцев назад

      Thanks for sharing. But what does the "ps" stand for? I could see CL for container list or CO for containers or CS for the same. It's just interesting that they chose PS.

    • @simon-white
      @simon-white 9 месяцев назад

      @@IAmTimCorey I asked the AI bots, they said ps means Process Status. Whether or not it's true, it makes sense; it's a similar operation to Get-Process in PowerShell, which gets processes and indicates whether they're running or not.

  • @narendransekar5889
    @narendransekar5889 3 года назад

    Thank you so much @Tim corey. Got an excellent startup for docker.

  • @cetinogut
    @cetinogut 3 года назад +1

    Many thanks Tim. This is a great starter for me..

  • @nazartvm
    @nazartvm 3 года назад +13

    Great, Please put video on microservices and rabbitmq

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад +5

      Thanks for the recommendation. I have added it to Tim's list of viewer suggestions for videos.

  • @andywalter7426
    @andywalter7426 3 года назад

    One thing I was able to do with docker that is really great is I was able to create a system where when I do a build, after the build is done, it will run my custom program that will publish without build. After the publish, then it would create a docker file. Which would just copy the files, set the ports and use the entry points. It would first delete the old containers then rerun again. It allowed to be able to have something with docker that runs all the time. Even was able to map 2 common folders on my C drive and do the code in the way where the code is the same whether the docker or non docker version is used. I even was able to connect to the site from another computer on the network without firewall issues as long as ssl was not used. Its a great alternative to windows services.

  • @konstantinospascal1892
    @konstantinospascal1892 3 года назад +4

    I believe docker ps is because ps stands for process, it's common in linux and containers are just running processes if you think about it.

  • @colinrey4589
    @colinrey4589 3 года назад

    Wow, you did it! I suggested this topic while ago. Very exciting.

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад

      Thanks for the recommendation. I try to capture them all from folk's comments so Tim can easily see the most requested topics. Yours was high on the list.

  • @kamilalbertkowalski8887
    @kamilalbertkowalski8887 2 года назад

    very nice docker tutorial

  • @shockprogramming
    @shockprogramming 3 года назад

    Thanks Tim...this intro really helped!

  • @pr0l0gix
    @pr0l0gix 11 месяцев назад

    Thank you for nicely walking through it!!

  • @williamdoty1409
    @williamdoty1409 Год назад +1

    Tim: Docker Engine.. Don't touch this.
    My Intrusive thoughts: I'm gonna touch it even harder now.

  • @vittoriomorellini1939
    @vittoriomorellini1939 3 года назад

    I'm following you now expecially to learn gRPC and Docker. The two more interesting features of this period

  • @tangomoocow
    @tangomoocow 3 года назад

    Thanks! I finally have some understanding of docker!

  • @SasikumarSivakumar
    @SasikumarSivakumar Год назад

    Really Cool video. you taught basics very well

  • @miguelbro7685
    @miguelbro7685 3 года назад

    You are the besh youtuber for dotnet developers)

  • @mohamaddjelouah9332
    @mohamaddjelouah9332 3 года назад +1

    Finally never clicked so fast thank you tim

  • @introvertkraver
    @introvertkraver 2 года назад

    This video actually helps me to understand Docker more, thanks a lot! I hope you can make a video about making a Laravel project with Docker (and MySQL).

    • @IAmTimCorey
      @IAmTimCorey  2 года назад +1

      That's a bit outside the scope of what I teach, unfortunately.

  • @sashengovender2401
    @sashengovender2401 3 года назад

    An excellent introduction. Thanks!

  • @antonfernando8409
    @antonfernando8409 2 года назад +1

    cool, thanks. how would you debug an image that's running on the linux mini os on the docker container, usually we may do things like 'gdb' etc, but now this binary is running inside a container. thanks

    • @IAmTimCorey
      @IAmTimCorey  2 года назад +2

      You would need to open the ports for debugging and then connect to your container with Visual Studio.

    • @antonfernando8409
      @antonfernando8409 2 года назад

      @@IAmTimCorey Thanks

  • @climbeverest
    @climbeverest 2 года назад

    Incredibly well done

  • @HariKrishna-mq7hs
    @HariKrishna-mq7hs 3 года назад

    Thank you Tim for this Video. It was really good

  • @JonathanHobbe
    @JonathanHobbe 3 года назад +3

    Wow just what I needed!

  • @gavranhas
    @gavranhas 3 года назад

    Thank you, Tim. Very useful, as usual.

  • @khalilovk
    @khalilovk 3 года назад

    Just when I needed it the most! Thank you

  • @vaswatha
    @vaswatha 2 года назад

    I loved it! Thank you, Tim

  • @georgetuccio6053
    @georgetuccio6053 2 года назад

    Another awesome course. Wow!

  • @CheeseBae
    @CheeseBae Год назад

    I'm glad I'm not the only one who always has VS Code put new files in the wrong folder.

  • @mekbeb
    @mekbeb 3 года назад

    Excellent. Thanks for the insight

  • @SunilMehta131
    @SunilMehta131 2 года назад +1

    important note for people who are trying above - the dockerfile should be named as "Dockerfile" otherwise it may result in an error like this - failed to solve with frontend dockerfile.v0: failed to create LLB definition: the Dockerfile cannot be empty

  • @martinnovak679
    @martinnovak679 3 года назад +1

    beginning of video is little bit confused but rest is very good and usefull

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +1

      I am glad my content was helpful.

  • @RittervonNord
    @RittervonNord 3 года назад +1

    A video about how to conceptualize and design architecture for a web api app in C# would be great from you!

  • @aditheppruekpitakpong3847
    @aditheppruekpitakpong3847 3 года назад

    Thank you so much. It's easy to follow and get more understanding as the explanation is really clear. Cool! ^^

  • @viruslab1
    @viruslab1 3 года назад

    it's good technology, it's changed my life as a developer in some sense

  • @devian1001
    @devian1001 2 года назад

    You are amazing Tim.

  • @androidsavior
    @androidsavior Год назад

    | really can not understand how docker should replace IIS ? Like how will I control every tool and feature the normal IIS offers when hosting a website directly on IIS ? I've watched many videos on docker and I've never ever found it 0.01% possible to move to docker and leave IIS away. As I see, docker can only be useful if i want to run a subsystem or a sub service quickly like redis cache or linux or small tools that are not soooooooo mandatory nor not the main system nor the main big application that I'm running, especially for .Net web apps.

  • @fayax
    @fayax 3 года назад

    Good intro video. Thanks.

  • @marcusmaunula5018
    @marcusmaunula5018 3 года назад

    Another valuable topic. Thanx.

  •  2 года назад

    Thank you very much for this valueable content

  • @vipul4net
    @vipul4net 3 года назад

    Thanks Tim, got a good knowledge :)

  • @DivakarRaj
    @DivakarRaj 3 года назад +2

    When I run the Docker image, rather than showing my HTML page, it shows a generic "It Works!" page (which I think is from Apache), and I'm not sure how this is to be fixed to show my actual HTML page. Can you help me out Tim !!

    • @ItsJustEza
      @ItsJustEza 3 года назад +1

      You have probably stuffed something up with your COPY command. Make sure the source AND destination are correct (correct place, no typos)

  • @zumanoka3310
    @zumanoka3310 9 месяцев назад +1

    Great tutorial, +1

  • @tonytmtsh
    @tonytmtsh 2 года назад

    Very cool starter video.

  • @TellaTrix
    @TellaTrix 3 года назад

    Come with advance concept Tim on Docker!!

  • @zeel800
    @zeel800 2 года назад

    hey tim. i really love your videos.
    theses videos of yours have really helped me understand,
    some fundaments i thought i knew.
    but thanks to you, my knowlage about them has been renewed/expanded upon.
    so yar keep up the good work.
    also if you get the chance i would love to see you do a video on
    Ejabbered (chat based server) (group chat version) - it also needs a docker image/container to run.
    but yar, stay awesome :)

    • @IAmTimCorey
      @IAmTimCorey  2 года назад +1

      That's a bit outside the scope of what I cover. I'm glad you are enjoying my content, though.

  • @angel_machariel
    @angel_machariel Год назад

    For me, file handling such as moving, compressing and so forth, between multiple network locations is crucial. Do images exist to create virtual network locations so can test "live" said file operations? I'm using a "worker" service to do these things and a console program to start/stop the service and whatnot.

  • @aibrainwaves_mk
    @aibrainwaves_mk 3 года назад

    Thank you so much for this video 🙏

  • @Amithansda
    @Amithansda 3 года назад +1

    When I started learning docker, it was trickier for me to have a running application with its own database that too running in docker.

  • @xelaksal6690
    @xelaksal6690 3 года назад

    Great introduction

  • @eknazar
    @eknazar 3 года назад

    Easy to understand tks. Do u have angular tutorial

    • @tomthelestaff-iamtimcorey7597
      @tomthelestaff-iamtimcorey7597 3 года назад

      Not at this time. Tim's Foundations in Web course covers all the wed development basics, but not frameworks like Angular. - iamtimcorey.com/p/foundation-web-development

  • @joelqrq
    @joelqrq 3 года назад

    so 32:25 *.* is basically indicating where the dockerfile is at in the path argument?

  • @DivakarRaj
    @DivakarRaj 3 года назад

    Hi Tim. Looks like this video is not available under any playlist in the Learning Path (or, is it ?). Could you please add it to an appropriate playlist in the Learning Path

    • @IAmTimCorey
      @IAmTimCorey  3 года назад +2

      It doesn't really fit neatly in any of the boxes. This is a peripheral technology that could be useful in a number of places but is not C#-specific.