Тёмный

How to Get Started with Docker 

Docker
Подписаться 103 тыс.
Просмотров 382 тыс.
50% 1

--
Containers are essential in today's modern development world. The Docker toolset is the easiest way to get started with containers and Kubernetes. In this talk, we'll walk through installing Docker and Kubernetes, building our first images, running our images locally, connecting containers using Docker networking, and we'll also take a look at some best practices for setting up your development environment. You do not need to know anything about containers to attend this talk. We'll start at the beginning, explaining and demonstrating everything you need to know to get started.
Speaker: Peter McKee, Docker
Twitter: @pmckee

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 226   
@KhajaMD143
@KhajaMD143 4 года назад
That's super crisp presentation. Straight to the points and no beating around the bush. Fantastically condensed information.
@codingadventures1172
@codingadventures1172 4 года назад
Thanks, Moin. Glad you enjoyed it!
@iam_ktp
@iam_ktp 2 года назад
Could not agree more. Super crisp and helpful. Thank you @Coding Adventures!
@TECHiHOBBYIST
@TECHiHOBBYIST Год назад
Uploaded 2 year ago This comment I was one year early here let leave a comment
@pattobin7066
@pattobin7066 7 месяцев назад
Easy, easy, easy and interesting to boot.
@sinajafarzadeh9577
@sinajafarzadeh9577 2 года назад
I wish Peter would run a whole "Docker course." Honestly, this guy is fantastic.
@DonPierreHalfaway
@DonPierreHalfaway 3 года назад
This guy gets 5 stars in my book. He teaches what took others 45 minutes in 15 minutes and it makes good sense and is not off topic.
@skypechess
@skypechess 4 года назад
As a completely new in Docker I can tell that this presentation is as good as I would spend 30 minutes in a nuclear power plant with an engineer who describes me the principles by pointing on buttons and telling me: Push this, then push that. After that half an hour I can push buttons in right orders (maybe) but I will not have the slightest clue what's going on. Well, it is a way to get started with something but I would try to find another engineer with teacher skills.
@Pulkit__7
@Pulkit__7 4 года назад
I guess, If I were you, I would start with understanding servers in general, and how you can host your own website on a virtual private server (VPS). Start by making an HTML page, and write some backend code with PHP. Like really simple one. Now host it on internet, but on VPS. Learn how to install on a simple OS like Ubuntu, all the things required, like php version 7, (if your original code was done in php), then a apache server which servers as a concierge, taking people visiting your website to proper location in your VPS. This simple process, I bet if you start from scratch and are complete beginner you can learn and host your website in 1 week, maximum. Now it is really really difficult to explain in the comment, as it would result in a very long book, but you get the gist. Just keep on learning and advancing like this, and learn what is docker, but mainly how it simplifies stuff in the example given above
@skypechess
@skypechess 4 года назад
@@Pulkit__7 First thing first: I really appreciate your kind answer. Second thing: let me to quote myself. "as a completely new in Docker". I repeat "...in Docker...". My professional background: - maths and physics teacher - almost finished programming mathematician, skipped the final exam but wrote a thesis: online game developed in PHP and Postgres. - 5 years as SW test FW developer (creating a FW which was used for around 15 years) - one of the devs of the game of Battlestations:Pacific - 10 years at a telco company developing microwave network equipment I think it can be called a solid background. Now with this experience I keep my verdict: I would try to find another engineer with teacher skills.
@Pulkit__7
@Pulkit__7 4 года назад
@@skypechess wow
@oxolov
@oxolov 3 года назад
The idea of the talk is to present an overview of Docker through an example. You are expected to explore each concept further. Would you really be ready for pushing the buttons at a nuclear power plant after an introduction from even the best engineer, without reading the manual? No, the engineer would explain how things worked at a higher level to speed up your progress when learning about the actual buttons. I am also new to Docker, with a much more modest background than yours, and have gained a lot from the video. I feel I now have a very clear understanding of what awaits me.
@pavileanumircea1446
@pavileanumircea1446 4 года назад
This is the far the greatest intro, presentation on any get started videos on internet. Hope everyone can find this link.
@HasanFarooq96
@HasanFarooq96 4 года назад
You rarely get to view such amazing presentations. Thank you!
@laszloszoke18
@laszloszoke18 2 года назад
I just started Docker; this introduction was helpful. Thank you very much!
@waltwilliams6012
@waltwilliams6012 3 года назад
I now have a greater understanding of Docker. It looks like I can build an overall container, to suit my needs, assembled from sub-containers retrieved from the Docker Hub. I will now doubt view this video a few more times during the process mastering Docker. ----------------> Thank You.
@babakb2k8
@babakb2k8 8 месяцев назад
Although I have had some experience with Docker and containerisation, the video was so smooth and presentation was so good that I couldn't stop watching whole video!
@carlosmoliveira
@carlosmoliveira Год назад
The most straightforward video I have watched to understand Docker. Thanks, Peter!
@pattobin7066
@pattobin7066 7 месяцев назад
Absolutely brilliant presentation. Peter has made this so easy. I touched on Docker a few years ago, and needed a refresh. Best place ever to do it. Fantastic stuff, thank you.
@queiroz-rafael
@queiroz-rafael 2 года назад
Great! Very clear contextualization how Docker solution fits most environments.
@rajubendran7318
@rajubendran7318 2 года назад
Very nice and simple presentation got to the point very quickly and you could tell that this guy is simply speaking from his real work experience not just straight out of a text book or anything like that. Well done Sir!
@miskbalder
@miskbalder 3 года назад
awesome, got me from close to zero to quite solid first step on the understanding docker in such a short time
2 года назад
Very nice presentation, you answered all of my initial questions about Docker, now I know how to get started!
@meh398
@meh398 3 года назад
I love how he did the demo. I am just taking my first steps i to Docker and this is exactly the demo I need and was searching for the past few hours.
@SrihariSridharanR
@SrihariSridharanR 3 года назад
This presentation is to the point! Thank you for investing your valuable time and creating this content! All the best for your future presentations.
@cmindia2003
@cmindia2003 Год назад
superb..explained everything about docker in 25 mins
@antoniomasotti8060
@antoniomasotti8060 3 года назад
Great! It's fantastic how you condensed everything one needs to know to get started in less than half an hour... Thank you very much!
@8bitseed
@8bitseed 4 года назад
on 3:53 there is a conceptual mistake - an image is a template to create containers. And a container is a runnable instance, which actually runs on server. So it does not only makes sense to "run" several images on server, but technically not possible (to "run" images at all). So please beware of confusion.
@reactcoder
@reactcoder 2 года назад
Thanks for the lesson, that help me a lot !
@carlsheldon2912
@carlsheldon2912 3 года назад
All these tutorials have the exact same problem. You start of with "What you're looking at is a docker file", but how did you get to where we're seeing this? What IDE are you using and how did you set it up? How did you get to the screen where you're at. Quick start guides is the same problem, where is the CLI in docker? For a project this big, the getting started documentation is pretty terrible.
@philippfreimann8938
@philippfreimann8938 2 года назад
Great tutorial. I often heard about docker before, but never found a starting point. I managed to run a nextcloud image parallel to watching this intro! Thanks a lot.
@tamirnoach2496
@tamirnoach2496 4 года назад
What a great presentation on docker . thanks so much.
@harithzainudin9594
@harithzainudin9594 3 года назад
Clear and concise!!
@klausvonshnytke
@klausvonshnytke 3 года назад
Appreciate your work on this presentation. Really the kind of lecture that speaks to me.
@Tolmachovtv
@Tolmachovtv 6 месяцев назад
So straght and easy to understand. Nice job!
@itsallabouttech562
@itsallabouttech562 2 года назад
This was great! An awesome video that helped me get a good understanding of the overall basics. Thanks!
@s0ngf0rx
@s0ngf0rx 4 года назад
for a complete beginner this was very approachable. does any one recommend any other tutorials for novices?
@kjn5991
@kjn5991 4 года назад
Traversy Media has 3 tutorial videos involving Docker. But they do not cover whole lot of subjects.
@cla1814
@cla1814 3 года назад
Go to the docs after. The sooner the better, problem with tutorials is that they get outdated and a lot of commands and structure dramatically changes with updates.
@ahmedfanatsah860
@ahmedfanatsah860 3 года назад
@@cla1814 On top of that they don't cover everything, I think one should always go to docs instead of tutorials, no one can gives you better information than the creator itself
@amk0613
@amk0613 3 года назад
Thank you so much! For a beginner, this presentation has been incredibly useful
@joshuamcallister917
@joshuamcallister917 10 месяцев назад
🎯 Key Takeaways for quick navigation: 00:00 🚀 Introduction to Docker - The speaker introduces the topic of Docker and the agenda for the session. 01:27 🐧 Challenges of Traditional Server Management - Discusses the difficulties of managing traditional servers, including updates, configurations, and scalability issues. - Shares a personal experience with a large number of servers in a data center. 03:22 🐳 Docker as a Solution - Explains how Docker and containers provide a solution to server management problems. - Highlights the concept of bundling applications, OS, and dependencies into images for easy deployment. 04:51 🏗️ Three Phases of Docker Focus - Discusses the three key phases of Docker: building images, shipping images, and running images. - Explains how Docker enables CI/CD and application testing. 05:48 🧱 Creating a Docker Image - Walks through the process of creating a Docker image using a Dockerfile. - Covers commands like FROM, WORKDIR, ENV, COPY, RUN, and CMD in Dockerfile. 08:51 🛠️ Building and Running Docker Images - Demonstrates how to build and run a Docker image, including mapping ports for network access. - Shows how to start and stop Docker containers. 11:56 📄 Viewing Docker Container Logs - Explains how to view container logs and follow them in real-time. - Demonstrates the Docker logs command. 16:25 ☁️ Pushing Docker Images to Docker Hub - Guides the process of pushing a Docker image to Docker Hub. - Shows how to create a repository on Docker Hub and use the docker push command. 20:12 🚀 Pushing Images to Docker Hub - Pushing Docker images to Docker Hub. 20:41 📤 Pulling Images from Docker Hub - Pulling Docker images from Docker Hub. 21:10 🐳 Summary of Building and Running Images - A summary of building and running Docker images. 21:38 🌐 Introduction to Docker Compose - Introduction to using Docker Compose for managing multiple services. 22:07 🏗️ Docker Compose Configuration - Explanation of Docker Compose configuration for services. 22:37 🚚 Running Services with Docker Compose - Demonstrating how to use Docker Compose to run services. 23:06 📦 Managing Images and Containers with Docker Compose - Managing images and containers using Docker Compose. 24:08 🛑 Stopping and Removing Containers - Stopping and removing Docker containers using Docker Compose. 24:39 💽 Running a Database Service - Setting up and running a database service using Docker Compose. 25:13 📂 Docker Compose Volumes - Explanation of Docker Compose volumes for persistent storage. 25:42 🐵 Running MongoDB with Docker Compose - Running MongoDB with Docker Compose and managing volumes. 26:14 📊 Connecting to MongoDB - Connecting to a MongoDB database container using a client. 26:46 📦 Benefits of Docker Compose - Highlighting the benefits of using Docker Compose for managing multiple containers. 27:14 🚀 Recap and Future Learning - Recap of key Docker concepts covered in the video and encouragement to explore more about Docker. Made with HARPA AI
@frankmwale1580
@frankmwale1580 Год назад
Now I wonder what the other 1hr30min tutorials are teaching 😂... Is there more to it than this? This is clear and straightforward
@kartz2010
@kartz2010 2 года назад
Super quick and super clear! Thank you so much!
@aaronbell5994
@aaronbell5994 3 года назад
Efficient and pleasant presentation, Mr. McKee! Thank you! 😁
@KritulRathod
@KritulRathod 2 года назад
Great content with the basics of docker. Good to refresh commands with this talk before starting a project
@djwave28
@djwave28 3 года назад
Now I understand Docker. Thank you for bringing me in the door.
@muzammilrafay4348
@muzammilrafay4348 3 года назад
Excellent Explanation of Docker :-)
@pavel_espinal
@pavel_espinal 2 года назад
Brilliant exposition. Succinctly explained.
@nickcourage7059
@nickcourage7059 4 года назад
Great content - thank you! Very helpful for a beginner.
@ahmedelkaffas3098
@ahmedelkaffas3098 2 года назад
informative & insightful and straight to the point !
@FitFatFern
@FitFatFern 3 года назад
For a complete beginner, this tutorial was incredibly confusing. He jumps straight to explaining what a dockerfile is and what can be done with it, but now on how you can create one. I could have followed along the entire presentation if that crucial step wasnt overlooked. So sadly this video does nothing to help me get started at all.
@harunisiaho
@harunisiaho 4 года назад
Amazing presentation. Very clear and concise. Thank you
@AI_Flight_Engineer
@AI_Flight_Engineer 2 года назад
He does not get to the point, and he does not know the difference between images and containers.
@EnricoCupellini
@EnricoCupellini 4 года назад
this presentation should receive a bunch more likes
@mparikshit
@mparikshit Год назад
Thank you, extremely useful 🙏
@sherazahmedch
@sherazahmedch 4 года назад
Very good presentation. Smooth and crisp. Hopefully it will help me and many others to learn docker fast.
@annachalom
@annachalom 3 года назад
hi, the subtitles/ cc seem to be delayed? i dont know if this is an youtube problem or if the page can configure it, but i wanted to let you know
@trig33kgirl
@trig33kgirl 2 года назад
I feel like you've left out alot. For example, I needed to name my Docker file with a .Dockerfile extension, not .yml. And it seems the copy command is expecting package.json to exist on my local dir first and do I need to already have a folder named /code?
@yannickbaudu9818
@yannickbaudu9818 2 месяца назад
All is clear thanks a lot !!
@tonyyang8538
@tonyyang8538 4 года назад
Thanks for the clear and concise presentation Peter. It's just one thing that at 13:06 you referred to "crazy_ptolemy" as the "image name". Shouldn't that be the name of the container and that "hello-world" being the name of the image? I'm new to docker so plz correct me if I'm wrong :D Thanks
@DockerInc
@DockerInc 4 года назад
Yes! You are correct. I should have been saying "container" and not "image". Sorry for the confusion.
@SpectatorAlius
@SpectatorAlius 3 года назад
@@DockerInc You also used 'name' not only for the name, but for the tag, teaching beginners to confuse the two notions.
@zoranavukmirovic8927
@zoranavukmirovic8927 2 года назад
You are right. You build images and you run containers. crazy_ptolemy is a container! He makes the same mistake few times during the presentation.
@lawrencechung7025
@lawrencechung7025 2 года назад
By the way, Ptolemy is the name of a Greek mathematician and it's pronounce "ˈtɒləmi" not "poh ta lomy".
@yosephsolomon5624
@yosephsolomon5624 4 года назад
My first docker video and it’s nice introduction but you didn’t make distinction between image and container in many places. It’s confusing when you say ‘name of the image’ to mean ‘name of the container’. The ‘docker start’, ‘docker rm’ commands and the ‘-name’ parameter in ‘docker run’ command take the name of the container, but you keep saying ‘the name of the image’. After reading the documentation, I realized that running the image with ‘docker run’ command means creating container and starting it. It would have been nice to make that distinction for a beginner.
3 года назад
I agree, as a beginner, the concepts of images and containers are a bit confusing as it is. "If you don't name your images, docker will name them for you." Isn't that the container name?
@hyperborean72
@hyperborean72 4 года назад
Brilliant presentation describing the very concepts
@kvnptl4400
@kvnptl4400 2 года назад
thanks for the quick demo
@renan9245
@renan9245 3 года назад
Simple and concise.
@RomuloMagalhaesAutoTOPO
@RomuloMagalhaesAutoTOPO 3 года назад
Wonderful, thank you
@grahamsuku5820
@grahamsuku5820 2 года назад
Fantastic presentation for us as beginners..
@geogyzachariah5849
@geogyzachariah5849 4 года назад
Great video for an intro to Docker. Thank you
@muditmittalthechef
@muditmittalthechef 3 года назад
Thanks for the video. Whenever I run an image, it stops automatically in few seconds, some times immediately. any suggestions?
@my3m
@my3m 4 года назад
Very good material. I watched from a different learning platform, and they went too much into depth. I think you covered good breadth in a short amount of time.
@jordanhassmann2228
@jordanhassmann2228 3 года назад
I'm getting the error "ERROR [3/5] COPY package.json /code/package.json". I assume this is because I did not have a package.json inside my directory like you. So I went ahead and added an empty one but now I get the error "ERROR [4/5] RUN npm install" and I'm assuming this is because it is empty and it doesn't know what to do with it. Could you share what is inside your package.json file?
@jordanhassmann2228
@jordanhassmann2228 3 года назад
Or even better if we could see all the files in that directory that apply
@dwanga4426
@dwanga4426 2 года назад
@@jordanhassmann2228 Did you sort this out?
@Savatore83
@Savatore83 4 года назад
the docker-compose should be explained more in detail! it is a powerful tool !
@SpectatorAlius
@SpectatorAlius 3 года назад
Exactly! The video says it will show how to *install* Docker, yet the entire video assumes Docker is already installed on your "local machine". But he never even clearly explains that: I was not sure until I saw some clear signs that he was running Terminal on a Mac. But this is exactly what I most wanted to see, since the instructions on the Docker website are also skimpy on saying what command runs on which machine (if you have Docker, you must have a machine in the Cloud). Even more disappointing, the Docker build on my local machine fails with the surprising message (it was not listed in any list of requirements shown by following the instructions) that Docker Desktop will not run on *any* Windows 8 machine.
@temidayorichard3305
@temidayorichard3305 2 года назад
Great Guy! Fantastic presentation
@charlesxavier2911
@charlesxavier2911 4 года назад
Such a good demo with such few likes? Aren't there many people learning Docker these days?
@KangJangkrik
@KangJangkrik 3 года назад
19:45 That's really fast internet, how much speed?
@victoria-exito
@victoria-exito Год назад
Hello, I have docker installed but I get an error: $ docker build --tag hello-world . unable to prepare context: unable to evaluate symlinks in Dockerfile path: CreateFile C:\Users\HP Zbook\Application lifecycle management\test-docker\Dockerfile: The system cannot find the file specified. help
@rahulj2167
@rahulj2167 2 года назад
Got more idea from this video than from my pluralsight subscription. Sigh!
@eink-reviews
@eink-reviews 3 года назад
Captions are no longer in sync after trimming. Workaround is using auto generated captions or having the transcript open in another window.
@cindyzhang4295
@cindyzhang4295 3 года назад
Can you upload all the files used in your videos?
@vikrskv0
@vikrskv0 3 года назад
really, an excellent tutorial, thank you!
@jeanpeuplu3862
@jeanpeuplu3862 2 года назад
Thank you!!!
@bernk
@bernk 2 года назад
Why does tagging the hello-world image with pmckee/hello-world create a second image, and do we want to keep both?
@ruslanmustaev8170
@ruslanmustaev8170 4 года назад
Thank you, Peter. This presentation is as good as usual. It would be great if you provide a bit more information about volumes, please. Your terminal is awesome, so colorful, could you tell us how did you do that?
@talalyousafkhan3710
@talalyousafkhan3710 2 года назад
Intall fish terminal. THen open your terminal and type "fish" and it will be updated to a colorful terminal with enhanced feastures.
@DebugWithAdam
@DebugWithAdam 3 года назад
Superb method of tutoring.
@johnc7436
@johnc7436 4 года назад
Nice tutorial! Thanks Peter!
@mohammadbarbast6524
@mohammadbarbast6524 2 года назад
I really enjoyed your presentations, thanks alot :D
@sebastientetaud7485
@sebastientetaud7485 3 года назад
Very good tutorial! Thank you !
@robertturner574
@robertturner574 2 года назад
awesome makes a lot of sense now! a new tech to add >:)
@pging8328
@pging8328 2 года назад
Out of curiosity, did the computer manufacturer (not naming names), have initials which started with "H" and ending with "P"?
@Peptoid
@Peptoid 2 года назад
how come the docker pull took 1 second for a 1GB image?
@madpb
@madpb 3 года назад
shit.. What is that @5:07 ?? I have the little boat running.... I did what you said... I right clicked on it.. QUICK START GUIDE... got that... What is that screen @5:08?? How did you get to that?? Dam.. this is way above my level.
@Shpa4ina
@Shpa4ina 3 года назад
The default subtitles are shifted relative to the video and are about 30 seconds ahead of the video. Please fix it
@adriannvalera9923
@adriannvalera9923 3 года назад
sir, your closed captions are late. thank you.
@juanmonster6232
@juanmonster6232 2 года назад
I love the video. The only thing I hate is that I could not follow, because there was not a git repository to clone and follow along to
@romanhrechuk7775
@romanhrechuk7775 3 года назад
Thanks a lot for your work!
@ManojCharles27
@ManojCharles27 2 года назад
thank you.
@RobMitchell001
@RobMitchell001 3 года назад
Well done, thank you!
@PostMapping
@PostMapping 2 года назад
Спасибо большое! Действительно, это удивительная вещь!
@kjn5991
@kjn5991 4 года назад
It would be nice if they could port Docker Desktop for Linux too. I can handle the CLI, but I'd like to do things with GUI as much as possible.
@joynerortiz2545
@joynerortiz2545 3 года назад
Yisus crist, what a nice video man, Thanks 4 ur help.
@ttes5408
@ttes5408 2 года назад
Could anyone tell me where I can find "package.json (at time 6:53 )"? i have spent like 2 hours but still cannot figure it out. thanks.
@dialruppertOk
@dialruppertOk 2 года назад
Same here. Seems to be an outdated example or a just-to-view example, not a hands on example.
@User-oz1us
@User-oz1us 2 года назад
@@dialruppertOk So true! In the end, I watched other tutorial videos to learn Docker.
@mansha99
@mansha99 3 года назад
Super cool. Thanks a lot.
@truchTV
@truchTV Месяц назад
nice prez, very clear ! what setting are u using in iterms2 to have such great colors ?
@mehedees
@mehedees 4 года назад
I've been looking for this head start! Thanks Peter!
@punjabankudiincorporate
@punjabankudiincorporate 4 года назад
hey have u done this internship?
@punjabankudiincorporate
@punjabankudiincorporate 4 года назад
hey have u done this internship?
@mehedees
@mehedees 4 года назад
@@punjabankudiincorporate sorry, didn't get the question
@punjabankudiincorporate
@punjabankudiincorporate 4 года назад
@@mehedees have u done internship from tcs..45 days remote internship
@punjabankudiincorporate
@punjabankudiincorporate 4 года назад
@@mehedees reply fast plss
@RajasekharUK
@RajasekharUK 3 года назад
Nice one Thanks
@FadkinsDiet
@FadkinsDiet Год назад
So has "Whack" for the / character spread from Microsoft to Docker?
@pappafritto
@pappafritto 2 года назад
thank you
@Wyvernnnn
@Wyvernnnn 3 года назад
The "COPY" command is ran after the "WORKDIR" command, so, when you run "COPY . /code", you are copying . (which is /code) to /code, right? Which isn't good?
@zahidal-islam8274
@zahidal-islam8274 2 года назад
Great!
@OldKingMaple
@OldKingMaple 2 года назад
Well done!
@998RC
@998RC 3 года назад
I guess I'm in the minority. This was not helpful at all to a non-developer who is focused on infrastructure. I wanted to understand how to set up the server infrastructure to make Docker available to users, and to run applications that have already been packaged for Docker. For example, starting with a physical server that will be dedicated to running Docker packages, what next? Does Docker install on bare metal, or on top of an OS?, or is it a plug-in for VMWare? Are there any supporting servers required to make it work, like licensing servers, DB servers, web servers, etc.?
@user-ew6mz8kz8v
@user-ew6mz8kz8v 2 года назад
Спасибо!
Далее
Docker Tutorial for Beginners
50:38
Просмотров 32 тыс.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
NGINX Tutorial - What is Nginx
14:32
Просмотров 147 тыс.
The intro to Docker I wish I had when I started
18:27
가장 쉽게 배우는 도커
22:58
Просмотров 173 тыс.
Learning Docker // Getting started!
35:56
Просмотров 108 тыс.
How To Use Docker To Make Local Development A Breeze
21:53
Intro to Docker - A Tool Every Developer Should Know
1:16:03
Simplify All the Things with Docker Compose
29:31
Просмотров 33 тыс.
Docker для Начинающих - Полный Курс
1:58:39