Containers? So What? Docker 101 Explained - Computer Stuff They Didn't Teach You #8

  Рет қаралды 143,920

Scott Hanselman

Scott Hanselman

Күн бұрын

Containers are confusing. They are a buzzword that everyone is saying but no one understands. Why use them? Why are they better than virtual machines? How are they different than just using a machine regularly? Let's build a Dockerfile FROM Scratch and built it up to an Nginx webserver and finally a multistage Dockerfile with building, testing, and running, in production, in just 30 min!
00:00 Introduction
01:25 Hello World in C
03:30 Draw.io diagram
05:00 Your app
06:12 Hypervisors
08:25 Completed Draw.io diagram
09:00 Dockerfile from Scratch
10:12 Docker Build and tag
12:12 busybox and base images
14:00 Running an image
15:22 What's Inside?
16:27 From Ubuntu
17:00 Layers
18:45 A more complex example
20:20 Nginx
24:25 My .NET podcast site in Docker
27:10 Why containers are amazing
27:45 Size of images
28:55 Final Diagram
30:00 Conclusion

Пікірлер: 380
@raghavpatne6578
@raghavpatne6578 3 жыл бұрын
Scott you are the Bob Ross of Programming. :-)
@TheDandonian
@TheDandonian 3 жыл бұрын
I subscribed to this guy because of your comment.
@alpomb4628
@alpomb4628 3 жыл бұрын
I thought the same thing!
@lalibi
@lalibi 3 жыл бұрын
I opened up comments to write the exact same thing...
@mariopendragon5373
@mariopendragon5373 3 жыл бұрын
when he shrunk down the size of the Docker Deamon box.
@HK-sw3vi
@HK-sw3vi 2 жыл бұрын
Rob Boss
@samuelschwager
@samuelschwager 3 жыл бұрын
A kubernetes video would be great!
@shanselman
@shanselman 3 жыл бұрын
Done!
@samuelschwager
@samuelschwager 3 жыл бұрын
@@shanselman Thanks!
@j0zeft
@j0zeft 3 жыл бұрын
started watching at home, and was continuing at the office... I thought I was alone so played on speakers, a colleague (not an IT person) from couple of rooms away came by to say good morning when she heard a sound and got interested, now she's watching the video from its beginning in her office :D
@Muhammad-sx7wr
@Muhammad-sx7wr 3 жыл бұрын
She also now knows what a tattletale you are. Lol.
@conventionalfusion6416
@conventionalfusion6416 3 жыл бұрын
This also works kzbin.info/www/bejne/mGWadqpubrFkfJI
@naj0916
@naj0916 Жыл бұрын
Docker in a nutshell. Meaty, concise, and practical. 🙂
@angmathew4377
@angmathew4377 3 жыл бұрын
My heart out. In our cs studies , We were told not to spoon feed. And the results were we never able to digest lots of cs stuff. But you are the man, who is giving us lots of detail in a magical way. Thanks to you and if there is any teacher around he needs to learn from this of how to help students.The ones who need to know at first place.
@MVerbaas
@MVerbaas 3 жыл бұрын
Clear and good help on how to start with docker/containers!
@lemurza5236
@lemurza5236 3 жыл бұрын
This is hands down the greatest intro to docker on the internet. Thank you.
@stephenrogers5458
@stephenrogers5458 3 жыл бұрын
Hi Scott, Stephen Rogers here from the old STEP days. I'm into hands-on webdev these days, building a real-world data collection/analytics product, using Vuejs, Express, and Nodejs. A colleague and I are building on Docker, for the benefits you discuss in this video. Nice job BTW. As for what we'd love to see, a video showing how you might build a product-quality workflow from dev desktop to deployment (we're targeting Digital Ocean at this point), using Docker. All the Best
@joross8
@joross8 3 жыл бұрын
Hey Scott, as a professional with over a decade of experience in system engineering, networks, development, etc, just wanted to let you know that I enjoy these videos. You do a great job of presenting the content and talking through it. I always enjoy refining the basics.
@arnabganguly
@arnabganguly 3 жыл бұрын
I cannot describe in words how grateful I am... Thank you
@The8merp
@The8merp 3 жыл бұрын
I love that this entire video had no fluff and got straight to the point and showed how things work both on the code level and overall architecture level. The best explanation of why docker and what is docker I have seen on KZbin.
@rycka88
@rycka88 3 жыл бұрын
"Let's add some happy container. Yeah, build it and run to make it alive and joyfull. Some happy trees here and there ... ups, wrong topic"
@mAcCoLo666
@mAcCoLo666 3 жыл бұрын
There are no bugs, only happy little accidents.
@piotrn2491
@piotrn2491 3 жыл бұрын
LOL!
@zoran123456
@zoran123456 3 жыл бұрын
Finally someone who can give me brief and simple esplanation about what the heck is this docker all about. Thank you to heaven and back. Why are you so smart?! 🤪
@mortengabrielottersen6813
@mortengabrielottersen6813 3 жыл бұрын
I like how calm you are when presenting stuff. I'm hope to get there some day.
@natepepin09
@natepepin09 3 жыл бұрын
This is the first video about Docker that has made sense to me. I like your method of explaining out concepts without using a lot of buzzwords.
@ManthaarJanyaro
@ManthaarJanyaro 3 жыл бұрын
Love you Scot for teaching us the stuff that isn't taught in schools.
@michaelnurse9089
@michaelnurse9089 3 жыл бұрын
Love your style of explaining 'stuff'. You know exactly when to use jargon and when to use generics like 'stuff'.
@JanWestin
@JanWestin 3 жыл бұрын
Hanselman delivers again :) Approachable and byte-sized
@xarros
@xarros 3 жыл бұрын
You’re the Bob Ross of tutorials ♥️ keep up the good work
@Nikhildeepsinghmahi
@Nikhildeepsinghmahi 3 жыл бұрын
Can you please make Docker 101 so that even the person who is not familiar with them can get to know about it. Even though I work in IT, I am not sure what it is. Thanks for the videos. Amazing content, lots of things to learn from you. Looking forward for the video.
@omairkhan279
@omairkhan279 3 жыл бұрын
Thanks a lot Scott for explaining stuff in an easy to understand vocabulary and pace. A topic on Kubernetes would be great.
@sarcasmasaservice
@sarcasmasaservice 3 жыл бұрын
Thanks again, Scott!
@wmd5645
@wmd5645 3 жыл бұрын
The basics. Cant beat the basics. Gimme all the basics. Thanks Scott
@AlifMunim
@AlifMunim 3 жыл бұрын
Right on time! Thank you
@lootpigeon
@lootpigeon 3 жыл бұрын
Thanks Scott, been lurking and watching your talks and tutorials for a while and I have to say the way you explain things and the content is amazing. Keep up the great work!
@tomschi9485
@tomschi9485 2 жыл бұрын
When I save links, I classify them with the prefix !1 to !9 !1 means: Useful up to !9 means: great / very important I classified your 'fill the gap' video with !9^9. I don't think it is possible to explain the most important Docker / Container basics so simple and clear in 30 minutes. Thanks a lot for sharing your great work!
@georget10i
@georget10i 2 ай бұрын
A slight correction at 14:35. When you issue the "run" command, it creates a new container, hence why the state is not preserved and files are deleted. Because it's a brand new container. If after stopping a container (by issuing `docker stop {container-name}` command), you use `docker start {container-name}` command, whatever the files you created there before, will still be there, so the state will be preserved. If containers had been stateless and wiped everything when stopped, it would not have been possible to have dockerized databases.
@hackerculture7391
@hackerculture7391 3 жыл бұрын
Loving this series and the very friendly and insightful way these tools and ideas are presented. Love Hanselminutes as well! Amazing podcast.
@user-jt7wb3zc1m
@user-jt7wb3zc1m 3 жыл бұрын
Thanks for recommendations, i don`t hear this podcast before 👍
@isakgranqvist5685
@isakgranqvist5685 3 жыл бұрын
Love your calm teaching style. Really knowledgeable and enjoying to watch. 10/10
@marzzuri
@marzzuri 3 жыл бұрын
I am enjoying the series.i special learned GIT by doing the hands-on along with your videos. Thank you for the time invested into these videos.
@sc12sc
@sc12sc 3 жыл бұрын
i just learned how docker works in this video. thank you.
@Stephen-Jones
@Stephen-Jones 3 жыл бұрын
Having had a few sessions to train me about containers I have to say this one has helped cement my understanding the most. Super massive thanks for this. 👍
@andreykolybelnikov1084
@andreykolybelnikov1084 3 жыл бұрын
Once again, sir, thank you very much. You made my day, weekend, and everything. Your style is so approachable and the explanations are very clear.
@jacobavilacamacho7644
@jacobavilacamacho7644 3 жыл бұрын
Great description about containers. Thank you
@richardarts520
@richardarts520 3 жыл бұрын
Great video! Good entry point to start exploring Docker.
@alberthoekstra
@alberthoekstra 3 жыл бұрын
Great video Scott. Fun to see a production Dockerfile in a video like this.
@xphacter
@xphacter 3 жыл бұрын
What a great video! Thanks for making everything feel so easy to approach and not so daunting. Great style!
@chaouanabil3087
@chaouanabil3087 3 жыл бұрын
Nice series scott, you have a gift! you can simplify and explain concepts well! and make them looks easy. it is what a newbie wants from "get started" videos.
@jayhu6075
@jayhu6075 3 жыл бұрын
You make every topic understandable in a unique way. Many thanks.
@mbrdevuk
@mbrdevuk 3 жыл бұрын
Very helpful explanations, thanks Scott!
@pandyamehul
@pandyamehul 3 жыл бұрын
Great overview with very simplified explanation about basic stuff Docker - it's great video showcasing how - Docker, WSL2, Linux, VS-Code etc. tools and technology can be used to build app in very short time. Great stuff :)
@RohitYadav24
@RohitYadav24 3 жыл бұрын
This is the most easiest video I came across which explains Containers so well. Thank you for making this entire series! :)
@liquidpebbles
@liquidpebbles 3 жыл бұрын
Really insightful stuff! Dockerfiles look like they can be really complicated. Thanks Scott
@theimp67
@theimp67 3 жыл бұрын
Great video Scott, I've been hearing about Docker, and Kubernetes, etc. and this video is great at explaining what it us and WHY the industry is using this technology. Great springboard to learning it in more detail. Thank you.
@shanselman
@shanselman 3 жыл бұрын
Just did a Kubernetes one!
@theimp67
@theimp67 3 жыл бұрын
@@shanselman I've seen that, it's next on the list. Thank you.
@kennethbrannigan4651
@kennethbrannigan4651 3 жыл бұрын
Great video Scott!! You are hitting all the items I am interested in Git and now Docker!
@AndyHake
@AndyHake 3 жыл бұрын
This blew me away. I have used Docker containers as a consumer, but never realised you could develop with them this way.
@ericserafim7954
@ericserafim7954 3 жыл бұрын
As always, great talking. Thanks Scott for your time!
@petermcclymont7347
@petermcclymont7347 3 жыл бұрын
Thanks Scott. Really useful. Containers are a bit difficult to understand initially. But it makes sense now.
@bschaatsbergen
@bschaatsbergen 3 жыл бұрын
Amazing scott, thanks for the 101!
@Noceo
@Noceo 3 жыл бұрын
"Rocket surgery"? That sounds really dangerous (but also kinda cool).
@ashishkhatiwada1880
@ashishkhatiwada1880 3 жыл бұрын
good sound quality, good video and lighting. good content.
@natz1337
@natz1337 3 жыл бұрын
Awesome video: both educational and asmr-friendly. Thank you!
@willembont4790
@willembont4790 3 жыл бұрын
Excellent presentation. Thanks.
@BookOfMorman
@BookOfMorman 3 жыл бұрын
You are the Bob Ross of computer tutorials! Love the videos! Keep up the great work!
@sbitaxi
@sbitaxi 3 жыл бұрын
Scott, I've played a little with Docker, but only using things built by someone else. I feel like I have a starting point to build something of my own. Thank you for this vid and series!
@georgepal1886
@georgepal1886 3 жыл бұрын
Really good video. Of course the next step to that is to talk about Kubernetes ;-)
@MaxQuagliotto
@MaxQuagliotto 3 жыл бұрын
Thanks Scott! I have been very apprehensive about using containers for many years -- but this video is exactly what I needed.
@Licantrop0_
@Licantrop0_ 3 жыл бұрын
Scott, you are the Richard Feynman of the IT. Thanks for making these videos.
@daStitches
@daStitches 3 жыл бұрын
This was VERY helpful, I've watch plenty of videos about docker and even though this was an overview this really helped with some of the basic concepts that I think other skip because they assume you know what they are talking about. Please keep up with these videos!
@TomRay74
@TomRay74 3 жыл бұрын
Scott, you are a very good educator. Thank you for this easy to understand take on Docker and containers. I appreciate your work. Thank you!
@SalieHendricks
@SalieHendricks 3 жыл бұрын
Super useful Scott. Thanks
@tahak7411
@tahak7411 3 жыл бұрын
I love this series, please keep making these.
@JingerVideo
@JingerVideo 3 жыл бұрын
Great talk, educative as well as fun, you rock!
@paulogodinho3275
@paulogodinho3275 3 жыл бұрын
This is the best introduction to docker I have ever seen. I was always scared out of trying it by far too techy videos, thank you for making this one using terms that people from outside can actually understand.
@meggrobi
@meggrobi 3 жыл бұрын
Great description and demo.
@FrequencyModulator
@FrequencyModulator 3 жыл бұрын
I'm learning more from your videos than from any other source.
@sxdev
@sxdev 2 жыл бұрын
This was great , already worked with docker but still a very nice explanation and just relaxing to listen to you and learn stuff ..
@JonBurger
@JonBurger 3 жыл бұрын
A follow up examining the uses of docker-compose would be extremely interesting too :)
@l_combo
@l_combo 3 жыл бұрын
Amazing as always Scott, looking forward to Kubernetes?
@SeanSmith73
@SeanSmith73 2 жыл бұрын
Just stumbled across your content, really impressive. Thanks for the information, nicely packaged.
@EmadMokhtar
@EmadMokhtar 3 жыл бұрын
Super useful and I pass it to my friends as it is simple and to the point. Well done Scott.
@khaledsaidi7709
@khaledsaidi7709 3 жыл бұрын
Keep it coming scott I learnt from this series, what 5 years of Software Engineering School couldn't teach. You are a tech Ninja 🐱‍👤🍂🔥
@lefterismic3978
@lefterismic3978 3 жыл бұрын
Great examples easy to follow and understand the true power and the actual meaning of docker with containers!
@ryanpaulcariaga9646
@ryanpaulcariaga9646 3 жыл бұрын
Very well explained. Thanks Scott. Looking forward with Orchestrator.
@mat.9
@mat.9 3 жыл бұрын
Thanks, great explanation. It is really clear and helpful.
@RobertoSolanoM
@RobertoSolanoM 3 жыл бұрын
very good video, explained as simple as it can get.
@ArielErlijman
@ArielErlijman 3 жыл бұрын
I finally understood all that container´s magic!! It´s so awesome to learn from the experts... thx Scott!
@mattjoslin7087
@mattjoslin7087 3 жыл бұрын
Very nice content, put across in a easy, friendly way. Good for amateurs and professionals alike.
@TarunKumarSaraswat
@TarunKumarSaraswat 3 жыл бұрын
Nice little video explaining containers very well 🙂
@davidcarter8272
@davidcarter8272 2 жыл бұрын
Very useful Scott. We have been using vids these for weekly learning with our team.
@danielawujoola8169
@danielawujoola8169 3 ай бұрын
Great stuff. Thanks Scott!
@lderluis
@lderluis 3 жыл бұрын
Thank you very much. This is more than enough to get me started with docker and understand how I can start leveraging this great technology.
@TheAfreitag
@TheAfreitag 3 жыл бұрын
Great Job Scott. I think you have a unique was of getting information across its really palatable and easy to watch!
@rizwaanbutt
@rizwaanbutt 2 жыл бұрын
Really helpful especially (-i) interactive switch. Thank you Scott.
@88spaces
@88spaces Жыл бұрын
Scott, I've admired your work for a while. You do an outstanding job. I'm glad you're doing videos now. They're really helpful, especially this one. Thank you.
@victoryosikwemhe3092
@victoryosikwemhe3092 3 жыл бұрын
This is so so explanatory. Thanks
@warperone
@warperone 3 жыл бұрын
nice clear explanation - you have a great teaching style
@ariellise
@ariellise 2 жыл бұрын
your videos are very useful for me, many thanks!
@ToddMThompson
@ToddMThompson Жыл бұрын
Thanks Scott! Works like a charm!
@MicheleFerracin
@MicheleFerracin 3 жыл бұрын
I like the "one take" approach :)
@CapnCoCo1
@CapnCoCo1 3 жыл бұрын
It really is better. You also get to see mistakes along the way which is good for teaching.
@mAcCoLo666
@mAcCoLo666 3 жыл бұрын
More than anything, it just feels natural, compared to all the jumpy cuts in heavily edited videos.
@bhupindersingh3455
@bhupindersingh3455 3 жыл бұрын
Very useful video, Learned alot thanks
@alje100
@alje100 3 жыл бұрын
Awesome video! Had a chance to use Docker a couple of times, but never really understood it on the level I wanted. You cleared it up nicely!
@babloor1
@babloor1 3 жыл бұрын
Great video! Explained very nicely.. one of the best explanation for docker I've seen. Please go ahead and explain some advanced concepts like docker-compose and how to use docker to build your own development environment. Also, Kubernetes plan sounds really good, looking forward to it.
@dosya6601
@dosya6601 3 жыл бұрын
Very usefull topic! Thanks
@amirbarghi
@amirbarghi 2 жыл бұрын
These are indeed important skills that are not taught in school. Love the series Scott. Thank you!
@michal7pl
@michal7pl 2 жыл бұрын
Well done Scott! Thank you
@roderickcrystal751
@roderickcrystal751 3 жыл бұрын
Great presentation Scott. Started to learn docker and I really like WSL2
@saadsheikh6827
@saadsheikh6827 Жыл бұрын
love it man..just love it. great work.
@helenafernandez9054
@helenafernandez9054 2 жыл бұрын
Great video. Thank you!
@aidanmcdonnell4873
@aidanmcdonnell4873 3 жыл бұрын
Great video Scott
КАХА и Джин 2
00:36
К-Media
Рет қаралды 3,8 МЛН
Mark Russinovich and Scott Hanselman "Healthy Debate"
20:39
Scott Hanselman
Рет қаралды 7 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,4 МЛН
Basic Home Networking 101 - Computer Stuff They Didn't Teach You #17
33:23
Docker 101
20:01
Articulated Robotics
Рет қаралды 17 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4 МЛН
Git 101 Basics - Computer Stuff They Didn't Teach You #4
33:50
Scott Hanselman
Рет қаралды 202 М.
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 375 М.
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Рет қаралды 6 МЛН
Kalem ile Apple Pen Nasıl Yapılır?😱
0:20
Safak Novruz
Рет қаралды 724 М.
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 8 МЛН
A4 Reset to zero
0:26
STYLE YT
Рет қаралды 17 М.
Apple watch hidden camera
0:34
_vector_
Рет қаралды 47 МЛН
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11