Lesson 5 | How to use Docker
Vložit
- čas přidán 22. 06. 2024
- This is the complete tutorial for beginners on How to use Docker 🐳
Welcome to the 5th lesson of Docker course: from 0 to INFINITY!
If there's one video in this entire playlist that you NEED to watch, it is right here 🔥
This video is a hands-on coding exercise that you can do as you watch it 🚀
You will learn how to:
👉 Create Docker Images for your application
👉 Work with DockerHub Repository to Push & Pull Images
👉 Run Containers on a Server 🤯
👉 Analyse running containers using "inspect", "logs" and "exec" commands
👉 Roll out updates to your images
👉 Destroy containers, delete images and basically cleanup 🧹
TIMESTAMPS ⏰
00:00 Intro
00:55 Build Docker Image
05:44 Push Image to Repository
08:26 Run Container on a server
11:02 Analyse running Containers
13:50 Push updates to image
16:20 Destroy Containers & Cleanup
18:28 Quiz Time!
👉 LINKS
1. Github Repo with all Code 🔗 github.com/duaraghav8/SRE101/...
2. Video on Docker's Architecture 🔗 • Lesson 3 | Docker Arch...
3. Docker website 🔗 www.docker.com/
4. Dockerfile Reference 🔗 docs.docker.com/engine/refere...
5. Docker logging 🔗 docs.docker.com/config/contai...
6. Docker Image layers 🔗 docs.docker.com/build/guide/l...
7. Docker CLI 🔗 docs.docker.com/engine/refere...
👉 SUBSCRIBE TO MY CHANNEL
/ raghavdua1
👉 CONNECT WITH ME
Linkedin 🔗 / raghavdua
Github 🔗 github.com/duaraghav8
#docker #devops #softwareengineering - Věda a technologie
You will gain much deeper understanding of this video if you've already watched my 5-min video about the Architecture and Key components of Docker
Here's the video if you haven't watched it -> czcams.com/video/2-4LDgcAhWM/video.htmlsi
This was helpful, thank you Raghav
I'm glad you found it useful :)
Great Series Raghav!
thanks Ananjay!
Hi Raghav! This is clearly the best playlist on CZcams to learn about Docker/ containers in general. It would be great, if you could provide the correct answers/approaches of questions you ask in the end of the videos in description or somewhere else. Thanks!
Thank you Vaibhav, means a lot!
I agree, thanks for the feedback and I will get to work on this :)
hope you can share for us to run stable diffusion comfyui with rocm amd on windows using docker mate :)
Thanks for the feedback! I've had very little dealing with Machine learning, so hopefully I can collab and release something like this soon
For health of containers multiple ways are there:
1. for container orch like Docker Swarm, Kubernetes, or Docker Compose use their liveness or readiness probes
2. use monitoring tools like grafana, datadog
3. or in dockerfile mention healthchecks.
Then these alerts can be tied to SNS or so to alerts in teams or SMS or mail
that's correct, all these orchestrators like Kubernetes also emit a lot of metrics that we can consume to better monitor the health of our applications.
I just saw your post in linkedin and got curious about your channel. This is what i was learning today. Loved it how it popped up in my feed
That means a lot to me, thank you :)
Feel free to share other topics you're curious to learn about.
Hello Raghav! Came here from LinkedIn and started watching your entire series on docker. Was wondering if you will ever do a comparison between Docker vs Kubernetes? Once again, thanks so much for the very knowledgeable information!
Great timing Ahmad :)
My video on Docker vs Kubernetes is coming out next Monday!
@@sre101 cant wait!
Great explanation 😊
Thank you! 😃
The commands at the start are these ?
Updating libraries and python dependencies using bash command ?
"Docker creates intermediate containers for each instruction in the Dockerfile. Each instruction in the Dockerfile results in the creation of a new intermediate container that represents the state of the filesystem after executing that instruction."
Correct. Docker creates intermediary LAYERS.
docs.docker.com/build/guide/layers/