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

  Рет қаралды 146,126

Scott Hanselman

Scott Hanselman

Күн бұрын

Пікірлер: 379
@raghavpatne6578
@raghavpatne6578 4 жыл бұрын
Scott you are the Bob Ross of Programming. :-)
@TheDandonian
@TheDandonian 4 жыл бұрын
I subscribed to this guy because of your comment.
@alpomb4628
@alpomb4628 4 жыл бұрын
I thought the same thing!
@lalibi
@lalibi 4 жыл бұрын
I opened up comments to write the exact same thing...
@mariopendragon5373
@mariopendragon5373 4 жыл бұрын
when he shrunk down the size of the Docker Deamon box.
@HK-sw3vi
@HK-sw3vi 3 жыл бұрын
Rob Boss
@joross8
@joross8 4 жыл бұрын
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.
@snk-js
@snk-js 4 жыл бұрын
I loved all your videos, and I got a feedback for you: on 20:58 try shrink your record ( or move screen more to left) when you are making explanations in the bottom right corner of the screen. Keep your excellent open source content, the world thanks you
@shanselman
@shanselman 4 жыл бұрын
Good feedback! Thanks!
@omairkhan279
@omairkhan279 4 жыл бұрын
Thanks a lot Scott for explaining stuff in an easy to understand vocabulary and pace. A topic on Kubernetes would be great.
@hackerculture7391
@hackerculture7391 4 жыл бұрын
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 4 жыл бұрын
Thanks for recommendations, i don`t hear this podcast before 👍
@angmathew4377
@angmathew4377 4 жыл бұрын
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.
@lemurza5236
@lemurza5236 4 жыл бұрын
This is hands down the greatest intro to docker on the internet. Thank you.
@The8merp
@The8merp 4 жыл бұрын
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.
@michaelnurse9089
@michaelnurse9089 4 жыл бұрын
Love your style of explaining 'stuff'. You know exactly when to use jargon and when to use generics like 'stuff'.
@stephenrogers5458
@stephenrogers5458 4 жыл бұрын
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
@RohitYadav24
@RohitYadav24 4 жыл бұрын
This is the most easiest video I came across which explains Containers so well. Thank you for making this entire series! :)
@j0zeft
@j0zeft 4 жыл бұрын
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 4 жыл бұрын
She also now knows what a tattletale you are. Lol.
@conventionalfusion6416
@conventionalfusion6416 4 жыл бұрын
This also works kzbin.info/www/bejne/mGWadqpubrFkfJI
@natepepin09
@natepepin09 4 жыл бұрын
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.
@zoran123456
@zoran123456 4 жыл бұрын
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?! 🤪
@lootpigeon
@lootpigeon 4 жыл бұрын
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!
@Stephen-Jones
@Stephen-Jones 4 жыл бұрын
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. 👍
@samuelschwager
@samuelschwager 4 жыл бұрын
A kubernetes video would be great!
@shanselman
@shanselman 4 жыл бұрын
Done!
@samuelschwager
@samuelschwager 4 жыл бұрын
@@shanselman Thanks!
@andreykolybelnikov1084
@andreykolybelnikov1084 4 жыл бұрын
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.
@paullesik
@paullesik 4 жыл бұрын
Great video Scott! One thing I find a little bit confusing is around 14:30 timestamp...when you talk about the container being gone forever when it's stopped...that's not exactly true. docker run = docker create + docker start, so yes by using 'run' we always create a brand new container, but the old one still exists...with all the changes in there...and we can start it with the container ID and attach to it if we wanted to. Cheers
@shanselman
@shanselman 4 жыл бұрын
Good point. Stopped != Removed.
@pandyamehul
@pandyamehul 4 жыл бұрын
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 :)
@MVerbaas
@MVerbaas 4 жыл бұрын
Clear and good help on how to start with docker/containers!
@mortengabrielottersen6813
@mortengabrielottersen6813 4 жыл бұрын
I like how calm you are when presenting stuff. I'm hope to get there some day.
@ManthaarJanyaro
@ManthaarJanyaro 4 жыл бұрын
Love you Scot for teaching us the stuff that isn't taught in schools.
@georget10i
@georget10i 10 ай бұрын
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.
@isakgranqvist5685
@isakgranqvist5685 3 жыл бұрын
Love your calm teaching style. Really knowledgeable and enjoying to watch. 10/10
@MaxQuagliotto
@MaxQuagliotto 4 жыл бұрын
Thanks Scott! I have been very apprehensive about using containers for many years -- but this video is exactly what I needed.
@paulogodinho3275
@paulogodinho3275 4 жыл бұрын
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.
@marzzuri
@marzzuri 4 жыл бұрын
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.
@theimp67
@theimp67 4 жыл бұрын
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 4 жыл бұрын
Just did a Kubernetes one!
@theimp67
@theimp67 4 жыл бұрын
@@shanselman I've seen that, it's next on the list. Thank you.
@sbitaxi
@sbitaxi 4 жыл бұрын
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!
@88spaces
@88spaces 2 жыл бұрын
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.
@kennethbrannigan4651
@kennethbrannigan4651 4 жыл бұрын
Great video Scott!! You are hitting all the items I am interested in Git and now Docker!
@jayhu6075
@jayhu6075 4 жыл бұрын
You make every topic understandable in a unique way. Many thanks.
@BookOfMorman
@BookOfMorman 4 жыл бұрын
You are the Bob Ross of computer tutorials! Love the videos! Keep up the great work!
@khaledsaidi7709
@khaledsaidi7709 4 жыл бұрын
Keep it coming scott I learnt from this series, what 5 years of Software Engineering School couldn't teach. You are a tech Ninja 🐱‍👤🍂🔥
@xphacter
@xphacter 4 жыл бұрын
What a great video! Thanks for making everything feel so easy to approach and not so daunting. Great style!
@TomRay74
@TomRay74 4 жыл бұрын
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!
@sxdev
@sxdev 3 жыл бұрын
This was great , already worked with docker but still a very nice explanation and just relaxing to listen to you and learn stuff ..
@cro-guy
@cro-guy 4 жыл бұрын
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!
@chaouanabil3087
@chaouanabil3087 4 жыл бұрын
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.
@daStitches
@daStitches 4 жыл бұрын
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!
@alberthoekstra
@alberthoekstra 4 жыл бұрын
Great video Scott. Fun to see a production Dockerfile in a video like this.
@bepd
@bepd 3 жыл бұрын
So glad I found these videos. I'm a new Jr. Dev and you've helped me understand so many things that have mystified me in my job.
@MarcDurdin
@MarcDurdin 4 жыл бұрын
Thanks Scott. I am not usually a fan of learning by video so it was a pleasant surprise to watch this and find it really helpful. (One small request: can you put errata as commented on into the notes for the video?)
@tomschi9485
@tomschi9485 3 жыл бұрын
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!
@TheAfreitag
@TheAfreitag 4 жыл бұрын
Great Job Scott. I think you have a unique was of getting information across its really palatable and easy to watch!
@georgepal1886
@georgepal1886 4 жыл бұрын
Really good video. Of course the next step to that is to talk about Kubernetes ;-)
@ArielErlijman
@ArielErlijman 4 жыл бұрын
I finally understood all that container´s magic!! It´s so awesome to learn from the experts... thx Scott!
@ashishkhatiwada1880
@ashishkhatiwada1880 4 жыл бұрын
Scott timeline 14:51 . You are not stopping the container, instead you are starting a new container . Try see running "docker ps" .
@shanselman
@shanselman 4 жыл бұрын
Yes I needed to -rm or stop. Thanks!
@arnabganguly
@arnabganguly 4 жыл бұрын
I cannot describe in words how grateful I am... Thank you
@amirbarghi
@amirbarghi 3 жыл бұрын
These are indeed important skills that are not taught in school. Love the series Scott. Thank you!
@webosm6494
@webosm6494 4 жыл бұрын
Do you run a database like SQL Server also in a container? And what is the best way to store its data.
@jeffb5798
@jeffb5798 4 жыл бұрын
Hi Scott, this series is great! Can't wait to see what else you talk about. As for Docker, it would be great to see additional videos on other Docker topics. For example, having not used Docker before and now having watched your video, I learned that the Docker containers don't save anything. So I'm curious, if I were running a SQL database (like MySQL, or MSSQL) in a Docker container, how would the changes to the data (in the database, which is running in the Docker container) be stored, so that the data is persisted and running the Docker container the next has the data? Or, say I wrote a web site that allowed users to upload, view, and share images, and the images were stored in the local file system, how would that work with Docker? Or is the concept that, one builds their web site in a Docker container, but the data (DB, files, log files, etc...) are stored on an external server or external service?
@yareps
@yareps 4 жыл бұрын
I'd hit the thumbs-up a hundred times if they counted. You're the Mr. Rogers of computer knowledge. (Know anything about writing Visual Studio extensions, like custom editor commands like you used to be able to do with VBA?)
@warperone
@warperone 4 жыл бұрын
nice clear explanation - you have a great teaching style
@EmadMokhtar
@EmadMokhtar 4 жыл бұрын
Super useful and I pass it to my friends as it is simple and to the point. Well done Scott.
@liquidpebbles
@liquidpebbles 4 жыл бұрын
Really insightful stuff! Dockerfiles look like they can be really complicated. Thanks Scott
@babloor1
@babloor1 4 жыл бұрын
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.
@lefterismic3978
@lefterismic3978 4 жыл бұрын
Great examples easy to follow and understand the true power and the actual meaning of docker with containers!
@AndyHake
@AndyHake 4 жыл бұрын
This blew me away. I have used Docker containers as a consumer, but never realised you could develop with them this way.
@richardarts520
@richardarts520 4 жыл бұрын
Great video! Good entry point to start exploring Docker.
@lderluis
@lderluis 4 жыл бұрын
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.
@FrequencyModulator
@FrequencyModulator 4 жыл бұрын
I'm learning more from your videos than from any other source.
@natz1337
@natz1337 4 жыл бұрын
Awesome video: both educational and asmr-friendly. Thank you!
@johnarmitagehere
@johnarmitagehere 4 жыл бұрын
+1 for covering kubernetes next. I think that's a great idea. Also great job explaining containers in a super simple way.
@christophheins4398
@christophheins4398 4 жыл бұрын
You Scott, are such a great guy. You have an undeniable talent for breaking down and explaining things in a very approachable way. Thank you so much for putting all the effort necessary into making these videos and please keep doing it. I am even thinking about making some of your videos mandatory views for new hires in our company ;)
@rbryan827
@rbryan827 4 жыл бұрын
Hey Scott, how do you add and connect your Database in the container?
@Rodhern
@Rodhern 4 жыл бұрын
Hi. At this point 11:40 I expected the output to be the one we were shown ten minutes earlier 01:40. However that is not the case. Is it just a matter of artistic license or did I misunderstand the point made?
@shanselman
@shanselman 4 жыл бұрын
Ah that’s good feedback. I was trying to make it clear that one was in Linux and one was inside Docker, so the one I copied into the container has the string change. I realize now that was more clever than informative. Thanks!
@ericserafim7954
@ericserafim7954 4 жыл бұрын
As always, great talking. Thanks Scott for your time!
@willembont4790
@willembont4790 4 жыл бұрын
Excellent presentation. Thanks.
@RobertoSolanoM
@RobertoSolanoM 4 жыл бұрын
very good video, explained as simple as it can get.
@Tea-Spin
@Tea-Spin 4 жыл бұрын
What kind of "terminal" that you're using in the video? It kinda nice to be able to open different terminal in one window (different tabs)
@BMosbat
@BMosbat 4 жыл бұрын
Windows Terminal. Scott has a very informative video about it, check it out
@QckSGaming
@QckSGaming 4 жыл бұрын
Oh wow, that explains a LOT! One question though: What about when that database containing that one crucial library is down, are you out of luck then and just have to pray for the provider to come back online to serve you the required packages? What about (docker image/layer) caches? Do they take much space?
@shanselman
@shanselman 4 жыл бұрын
They do take up some space but not lots. For production if you are worried about a layer disappearing you would host your own container registry and cache all layers and containers, as a backup.
@l_combo
@l_combo 4 жыл бұрын
Amazing as always Scott, looking forward to Kubernetes?
@sunilanthony17
@sunilanthony17 4 жыл бұрын
I miss VS Live, you are always amazing at those events. You are my idol. Thanks for always inspiring me to elevate myself.
@blevenzon
@blevenzon 3 жыл бұрын
Best explanation I’ve seen. Thank you Scott. One question, your podcast app that you dockerized, what web server did it run on?
@x__dos
@x__dos 4 жыл бұрын
Thanks Scott, pls tell about how DBs can be used in containers, as long as they dont persist data between reboots
@martijnvaandering8204
@martijnvaandering8204 4 жыл бұрын
Thats where volumes come in place 😀👍
@b87b84
@b87b84 4 жыл бұрын
You should not persist data inside an image when running on container.
@MicheleFerracin
@MicheleFerracin 4 жыл бұрын
With volumes 😊
@MichealColhoun
@MichealColhoun 2 жыл бұрын
I have been avoiding docker - Thank you. Now was a good time to watch this video
@Matar86
@Matar86 4 жыл бұрын
Very neat walk through. It'd be nice if you could use same "layers" concept to explain the more about how security stuff like http/ssl/tls work & related. Thank you Scott.. Great work
@alimahdi6379
@alimahdi6379 4 жыл бұрын
Hi Scott. Great stuff. One thing they did not teach me at school is public vs private ip addresses and ports. I finish my server code and the engineers start talking about nating and interfaces. Greek to me. In this video you had two ports 81 and 80, for example. If you can tell us more about that it would be much appreciated.
@vladchendev6195
@vladchendev6195 2 жыл бұрын
Thanks Scott for such a lovely video. As always, your hard work is changing world and is greatly appreciated! I am wondering if you have put any thoughts on making video on API thing? As much as i read about as much as even worked with it I'm not fundamentally grasping all the "coolness" of using APIs vs JDBS, ODBC and ADO.NET drivers connections.
@droopydave11
@droopydave11 4 жыл бұрын
Great work, Scott. Looking forward to the Kubernetes lesson. You have a new subscriber, and found this very informative! Thanks again!
@jacobavilacamacho7644
@jacobavilacamacho7644 4 жыл бұрын
Great description about containers. Thank you
@davidcarter8272
@davidcarter8272 3 жыл бұрын
Very useful Scott. We have been using vids these for weekly learning with our team.
@wmd5645
@wmd5645 4 жыл бұрын
The basics. Cant beat the basics. Gimme all the basics. Thanks Scott
@JonBurger
@JonBurger 4 жыл бұрын
A follow up examining the uses of docker-compose would be extremely interesting too :)
@strandloper
@strandloper 4 жыл бұрын
Thanks Scott. Great explanation as always, but I have a question. I was following along on my own machine and after running nginx with "docker run --rm --name docker-nginx -p 81:80 nginx" I reached the point at 21:54 where I can switch to my browser and browse localhost:81 and it works. But where you did Ctrl-C and then could see the running Docker nginx process, I don't see any process and localhost:81 no longer works. It seems that your nginx container continued running in the background but mine didn't. I don't know why; can you explain why this might be? I'm pretty sure I followed your steps correctly up to that point.
@shanselman
@shanselman 4 жыл бұрын
I believe my browser cached that page because when I refreshed again in the video it stopped working.
@strandloper
@strandloper 4 жыл бұрын
@@shanselman Not just that though. After pressing Ctrl-C you were able to issue "docker ps" and see the running Nginx container, but for me pressing Ctrl-C killed it and "docker ps" showed no running container process.
@Nikhildeepsinghmahi
@Nikhildeepsinghmahi 4 жыл бұрын
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.
@tahak7411
@tahak7411 4 жыл бұрын
I love this series, please keep making these.
@ashishkhatiwada1880
@ashishkhatiwada1880 4 жыл бұрын
good sound quality, good video and lighting. good content.
@bschaatsbergen
@bschaatsbergen 4 жыл бұрын
Amazing scott, thanks for the 101!
@viniciusvbf22
@viniciusvbf22 4 жыл бұрын
Hey @Scott Hanselman, I'm recommending all your videos to my dev team, no matter how basic they are. People really get going these days not knowing the basics. In fact, I had in my to-do list to make videos explaining exactly what you explained in your 2 first videos of this series, so thank you so much for that! :) Subjects that are also on my to-do list to make videos about: Base64 and Endianness. Feel free to beat me on those 2 also :)
@lwinmoehein2894
@lwinmoehein2894 4 жыл бұрын
Hi Scott,you are a real legend,thanks so much for all your works
@ggibellato
@ggibellato 4 жыл бұрын
Best explanation about Docker that I saw
@annieorben
@annieorben 4 жыл бұрын
Kubernetes would be a great next topic. Thanks for the overview explanation, its in-depth enough to try stuff out, but not overly in-depth!
@JingerVideo
@JingerVideo 4 жыл бұрын
Great talk, educative as well as fun, you rock!
@petermcclymont7347
@petermcclymont7347 4 жыл бұрын
Thanks Scott. Really useful. Containers are a bit difficult to understand initially. But it makes sense now.
@Voldermortish
@Voldermortish 4 жыл бұрын
I really enjoyed the presentation and the way the concept was visually explained using Draw.io
@mattjoslin7087
@mattjoslin7087 4 жыл бұрын
Very nice content, put across in a easy, friendly way. Good for amateurs and professionals alike.
@Noceo
@Noceo 4 жыл бұрын
"Rocket surgery"? That sounds really dangerous (but also kinda cool).
Containers 101
12:17
VMware Cloud Native Apps
Рет қаралды 50 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 35 М.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,8 МЛН
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 1,1 МЛН
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,3 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН