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
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.
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 !
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!
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
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 👍👍
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! 🙌
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!
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
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.
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.
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!
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.
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!!
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 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 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
Thanks for watching and glad its adding value for you.
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 ? :)
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.
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
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 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 :)
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.
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.
@@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.
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.
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.
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).
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
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
| 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.
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 !!
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 :)
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.
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
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
Your voice is so perfect for coding ed, slow and measured lets it sink in the head, thank you!
Thanks!
@@IAmTimCorey You should insure it :-P ... or even better: create a docker image of it!
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!
Thanks for growing your skills with this video.
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
Thank you!
Finally! I've been waiting for it🥳thank you very much
Thanks for watching
Thanks!
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.
You are welcome.
I needed this kind of quick intro, all of the other tutorials were requiring more time investment which i didn't have. Thanks Tim!!!
Glad I could help!
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 !
Awesome!
Tim Corey's videos have almost single-handedly advanced my career.
Awesome! I'm glad I was able to help.
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!
Thanks for the great endorsement!
What a beginner course this is? Wow. Completely beginner friendly. Thank you Tim.
Glad it was helpful!
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
Timing is everything.
Thanks a lot Tim. I now finally understand how docker works. I need that hands on experience.
Awesome!
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.
Glad I could help!
This video couldn't have came at a better time.
I'm glad it was helpful.
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 👍👍
I'm working up towards it.
I might go check this out, see my previous comment, that might be helpful to me right now.
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! 🙌
Thanks for sharing from your experience.
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!
I am glad it was helpful.
Very helpful, clearly explained as usual Tim.
Glad it was helpful!
Hi Tim, thanks for sharing this docker introduction, you've made it easy to understand
You are welcome.
Great teaching techniques, it's very helpful for me, and also looking forward for your more contents..
Thanks!
Thank you Tim Corey, all your C# or programming related courses have truly helped me😁
You are welcome.
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
Thanks for sharing.
This is the video I didn't know I needed! Thank you, Mr. Corey!
Thanks for growing your skills with Tim
Thank you Tim, that's exactly what I needed! A gentle and complete introduction to this important topic. You rock.
Great!
A more than clear explanation about Docker. Thank you Tim!
Thanks for watching and trusting Tim to help expand your skills
This video is absolutely amazing Tim! So good and well explained!
Thank you!
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.
Glad it was helpful!
Been wondering about Docker for a very long time, thanks to your video I finally learned what it is and how it works, thanks!
Thanks for growing your skills with this video.
Hey Tim, why you're so good at teaching ❤
I am glad you find my content so valuable.
Absolutely Awesome, probably the best video I came across about dockers
😍
Glad you liked it!
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.
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!
Excellent Docker tutorial for beginners
I am glad it was helpful.
A great video as usual! Thanks Tim for it. Keep teaching us!
You are welcome.
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.
Excellent!
This was a really enjoyable and helpful tutorial. Thanks!
Glad it was helpful!
Great intro to Docker! Simple and understandable.
Thanks.
Thanks for watching and sharing your thoughts.
You are the Jerry Rigs everything in Coding world. Thanks for great tutorial on the basics
You are welcome.
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!!
You are welcome.
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
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.
@@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
@@michelchaghoury870 Neither Tim ,nor I, provide individual consultations.
@@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
@@michelchaghoury870 Got ya! I added these comments to Tim's list.
Commenting Again! You deserve a BILLION SUBS! Man you are great!!!!!!!!!!!!!!!!!
Thank you!
Great work Corey, you just made it simple to understand Docker.
Thanks!
Just brilliant Tim, great thanks for sharing this, start to love Docker because of your wonderful introduction.
Thanks for watching and glad its adding value for you.
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 ? :)
Thank you! And no, I don't have anything on docker-compose...yet. Stay tuned.
This is a great tutorial. Well done, Tim.
Thank you!
@@IAmTimCorey you’re welcome
Thank you Tim, great intro to Docker,
You are welcome.
You deserve a million Subs...!
Thanks!
@@IAmTimCorey Your welcome :)
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.
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
@@IAmTimCorey Thanks for answering, I'm whatching TimCo Retail Manager series. Excelent job by the why.
Thank you so much! Thank you for diving into details that are otherwise ignored.
You are welcome.
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 :)
Thanks for the tip!
@@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 :)
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.
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.
@@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.
Thank you so much @Tim corey. Got an excellent startup for docker.
You are welcome.
Many thanks Tim. This is a great starter for me..
You are welcome.
Great, Please put video on microservices and rabbitmq
Thanks for the recommendation. I have added it to Tim's list of viewer suggestions for videos.
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.
Interesting options, thanks for sharing with everyone.
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.
Thanks for sharing.
Wow, you did it! I suggested this topic while ago. Very exciting.
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.
very nice docker tutorial
Thank you!
Thanks Tim...this intro really helped!
Glad to hear it!
Thank you for nicely walking through it!!
Glad it was helpful!
Tim: Docker Engine.. Don't touch this.
My Intrusive thoughts: I'm gonna touch it even harder now.
😂
I'm following you now expecially to learn gRPC and Docker. The two more interesting features of this period
Great!
Thanks! I finally have some understanding of docker!
Excellent!
Really Cool video. you taught basics very well
Thanks
You are the besh youtuber for dotnet developers)
Thank you!
Finally never clicked so fast thank you tim
Awesome!
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).
That's a bit outside the scope of what I teach, unfortunately.
An excellent introduction. Thanks!
You are welcome.
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
You would need to open the ports for debugging and then connect to your container with Visual Studio.
@@IAmTimCorey Thanks
Incredibly well done
Thank you!
Thank you Tim for this Video. It was really good
You are welcome.
Wow just what I needed!
We are glad it helped.
Thank you, Tim. Very useful, as usual.
You are welcome.
Just when I needed it the most! Thank you
Thanks for growing your skills with Tim
I loved it! Thank you, Tim
You are welcome.
Another awesome course. Wow!
Thanks!
I'm glad I'm not the only one who always has VS Code put new files in the wrong folder.
lol yeah.
Excellent. Thanks for the insight
You are welcome.
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
Yep.
beginning of video is little bit confused but rest is very good and usefull
I am glad my content was helpful.
A video about how to conceptualize and design architecture for a web api app in C# would be great from you!
Thanks for the suggestion. I have added it to Tim's list of possible future topics.
Thank you so much. It's easy to follow and get more understanding as the explanation is really clear. Cool! ^^
Glad to hear that!
it's good technology, it's changed my life as a developer in some sense
Thanks for growing your skills with Tim
You are amazing Tim.
Thanks!
| 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.
Good intro video. Thanks.
You are welcome.
Another valuable topic. Thanx.
Thanks for watching
Thank you very much for this valueable content
You are welcome.
Thanks Tim, got a good knowledge :)
You are welcome.
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 !!
You have probably stuffed something up with your COPY command. Make sure the source AND destination are correct (correct place, no typos)
Great tutorial, +1
Thank you!
Very cool starter video.
Thanks!
Come with advance concept Tim on Docker!!
I added it to Tim's list for topics to consider. Thanks for recommending it.
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 :)
That's a bit outside the scope of what I cover. I'm glad you are enjoying my content, though.
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.
Thank you so much for this video 🙏
Glad it is helpful. Please tell a friend.
When I started learning docker, it was trickier for me to have a running application with its own database that too running in docker.
Thanks for sharing
Great introduction
Thanks!
Easy to understand tks. Do u have angular tutorial
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
so 32:25 *.* is basically indicating where the dockerfile is at in the path argument?
Correct.
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
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.