Docker and Kubernetes Tutorial | Full Course [2021]

preview_player
Показать описание
In this complete Docker and Kubernetes tutorial Nana from Techworld With Nana and I have collaborated to teach you the fundamentals of docker and Kubernetes. There will be 2 parts. Docker tutorial and Kubernetes tutorial.

Starting with docker for beginners to all you need to know about creating docker images, running docker containers, docker volumes, container registry and docker architecture.

Then Kubernetes turorial for beginners including Kubernetes architecture, Kubernetes pods, services, config maps all the way to Kubernetes deployments.

You will learn the differences between docker vs Kubernetes allowing to start using these two technologies with confidence upon course completion

This course is very hands on. So if you prefer you can enrol for free on my website:

Timestamps (JZK Alif)

Introduction to Docker
0:00 - Introduction
2:34 - Course Overview
5:03 - What is Docker
9:34 - Installing Docker
12:56 - Verify Installation

Images, Containers, and Ports
15:36 - Images & Containers
17:06 - Pulling NGINX Image
21:12 - Running Containers
25:48 - Exposing Ports
30:01 - Exposing Multiple Ports
31:38 - Managing Containers
39:37 - Naming Containers

Volumes
45:38 - Volumes
49:47 - Volumes Between Host and Container
57:53 - Customize Website
1:00:48 - Volumes Between Containers

Building Images
1:04:03 - Dockerfile
1:06:10 - Creating Dockerfile
1:11:55 - Docker Build

Project: Build an Image for an API
1:19:16 - Node JS and Express JS
1:25:50 - Dockerfile for our API
1:31:57 - Running Containers for our API

Caching and Layers
1:35:02 - .dockerignore
1:40:17 - Caching and Layers
1:45:32 - Caching and Layers Part 2

Reducing Image Size
1:51:39 - Alpine
1:54:30 - Pulling Alpine Images
2:00:02 - Using Alpine

Tags and Versioning
2:06:28 - Tags and Versions
2:09:31 - Using Tags with Versions
2:13:35 - Running Containers and Tags
2:17:23 - Tagging Override
2:20:22 - Tagging Own Images
2:25:06 - Running Containers with Different Tags

Docker Registries
2:29:58 - Docker Registry
2:32:58 - Create Docker Hub Repo
2:35:31 - Pushing Images to Docker Hub
2:41:32 - Pulling Own Images

Debugging Containers
2:46:06 - Docker Inspect
2:49:30 - Docker Logs
2:53:51 - Docker Exec

Introduction to Kubernetes
2:57:30 - Kubernetes
2:58:35 - Course Overview
2:59:03 - What is Kubernetes

Kubernetes Architecture & Components
3:02:28 - Kubernetes Architecture
3:07:01 - Pod, Service & Ingress
3:12:51 - Config Map and Secret
3:16:05 - Volumes
3:18:06 - Deployments and Stateful Sets
3:23:25 - Components Summary

Developing Locally
3:24:23 - Minikube and kubectl
3:28:06 - Installing Minikube and kubectl
3:34:06 - Create Deployment
3:37:17 - Debugging Pods
3:40:21 - kubectl apply -f
3:44:48 - kubectl commands summary

Project: MongoDB and Mongo Express
3:45:42 - Deploying MongoDB and Mongo Express
3:48:00 - MongoDB Pod
3:52:01 - Secret
3:58:16 - MongoDB Internal Service
4:03:08 - Deployment Service and Config Map
4:09:56 - Mongo Express External Service

4:16:03 - Congrats! You made it to the end 🎉

🙊 Here are the goods for all my videos video:

► Recommended Books

Clean Code

HTTP: The Definitive Guide

Clean Architecture

► Computer and Monitor

New Apple MacBook Pro

Dell 27 INCH Ultrasharp U2719D Monitor

Double Arm Stand Desk Mount

USB C Hub Multiport Adapter

► Camera Gear

Sony ILCE7M3B Full Frame Mirrorless Camera

Sigma 16 mm F1.4 DC DN

Sigma 33B965 30 mm F1.4 DC DC

Awesome Screen Saver

IDE I use for coding
- Iterm
- VsCode
- GoLand
- IntelliJ
- Sublime

💯 You can also follow me here:

❤️ Thanks for watching

#docker #kubernetes #devops
Рекомендации по теме
Комментарии
Автор

Thank you Nelson for the great collaboration 🙂
Here the YAML configuration files for Kubernetes demos:

Hope you enjoy the course! :)

TechWorldwithNana
Автор

*Timestamps*

*Introduction to Docker*
0:00 - Introduction
2:34 - Course Overview
5:03 - What is Docker
9:34 - Installing Docker
12:56 - Verify Installation

*Images, Containers, and Ports*
15:36 - Images & Containers
17:06 - Pulling NGINX Image
21:12 - Running Containers
25:48 - Exposing Ports
30:01 - Exposing Multiple Ports
31:38 - Managing Containers
39:37 - Naming Containers

*Volumes*
45:38 - Volumes
49:47 - Volumes Between Host and Container
57:53 - Customize Website
1:00:48 - Volumes Between Containers

*Building Images*
1:04:03 - Dockerfile
1:06:10 - Creating Dockerfile
1:11:55 - Docker Build

*Project: Build an Image for an API*
1:19:16 - Node JS and Express JS
1:25:50 - Dockerfile for our API
1:31:57 - Running Containers for our API

*Caching and Layers*
1:35:02 - .dockerignore
1:40:17 - Caching and Layers
1:45:32 - Caching and Layers Part 2

*Reducing Image Size*
1:51:39 - Alpine
1:54:30 - Pulling Alpine Images
2:00:02 - Using Alpine

*Tags and Versioning*
2:06:28 - Tags and Versions
2:09:31 - Using Tags with Versions
2:13:35 - Running Containers and Tags
2:17:23 - Tagging Override
2:20:22 - Tagging Own Images
2:25:06 - Running Containers with Different Tags

*Image Registries*
2:29:58 - Docker Registry
2:32:58 - Create Docker Hub Repo
2:35:31 - Pushing Images to Docker Hub
2:41:32 - Pulling Own Images

*Debugging Containers*
2:46:06 - Docker Inspect
2:49:30 - Docker Logs
2:53:51 - Docker Exec

*Introduction to Kubernetes*
2:57:30 - Kubernetes
2:58:35 - Course Overview
2:59:03 - What is Kubernetes

*Kubernetes Architecture & Components*
3:02:28 - Kubernetes Architecture
3:07:01 - Pod, Service & Ingress
3:12:51 - Config Map and Secret
3:16:05 - Volumes
3:18:06 - Deployments and Stateful Sets
3:23:25 - Components Summary

*Developing Locally*
3:24:23 - Minikube and kubectl
3:28:06 - Installing Minikube and kubectl
3:34:06 - Create Deployment
3:37:17 - Debugging Pods
3:40:21 - kubectl apply -f
3:44:48 - kubectl commands summary

*Project: MongoDB and Mongo Express*
3:45:42 - Deploying MongoDB and Mongo Express
3:48:00 - MongoDB Pod
3:52:01 - Secret
3:58:16 - MongoDB Internal Service
4:03:08 - Deployment Service and Config Map
4:09:56 - Mongo Express External Service

4:16:06 - Congrats! You made it to the end 🎉

*Don't Forget to Subscribe!*
Jazāk Allāhu Khayran Nelson and Nana for putting out such amazing content for free! You guys are the best ❤

*Useful Links*

AlifMunim
Автор

To get the nicely formatted docker PS he uses, here is the string:


Loving this course so far, thanks

odisclemons
Автор

Nelson, you are a saint. I wish you the best in life.

edwin-jqdp
Автор

If you will have problem with sharing volume on windows with PowerShell (at 53:30 of the video):
- create "website" folder with index.html on your docker directory (like C:\Users\user\.docker...)
- after that try this command "docker run --name website -v -d -p 8080:80 nginx" (where first path is your docker path directory)

Hope will helps...
p/s Thanks for the amazing video Nelson and Nana!

gazizmalibekov
Автор

One of the best tutorials ever. Very clear, no extra talking and very easy to follow. You are the best.

marksaravi
Автор

I just want to thank Nelson and Nana for this unique 4-hour bundle providing both hands-on experience and strong theoretical foundations. This is by far the best content I've been able to find on the subject. Keep up the good work guys! Merci beaucoup!

georgesbataille
Автор

I hear "Assala mu alikum wa rahma tullahi" and I click "like". So amazing seeing a muslim in the tech space. Thank you so much brother.

hassan_codes
Автор

Definitely one of the most professionally done tutorials on the internet!!!

tonyhill
Автор

After almost a week, finally, I finished the course. You guys are awesome. now I am familiar with docker

Adam-gpij
Автор

I want to say thank you much This topic was very confusing for me, honestly after watching hours tutorials and failing in multiple interviews q/a I had lost my hope on myself. I am wondered how patiently you guys explained it step by step and with details everything was wonderful documentation, examples code explanation I really don't know how to appreciate you I wish you and your beloved ones health, happiness, wealth, joy and success ❤❤❤❤🌹🌹🌹🌹🌹🌹🌹🌹🙏🙏🙏🙏🙏🙏🙏

rzub
Автор

Thank you Nana and Nelson joining forces. The world needs more people like you. Both of you have excellent teaching style and provided amazing content to the public. May allah never stop filling your hearts with joy.

boykotgooglification
Автор

great stuff! i learned a tonne about Docker and Kubernetes!
just one thing, and i don't want to be *that guy*, but LTS does not stand for Latest, it stands for Long Term Support 😅

gjorgjic
Автор

In my opinion, I think Nelson is the best programming teacher I've met online. I mean he's eloquent. superb!

sollymohlahatsa
Автор

Hey Nelson waiting for expert level java course. I have completed the beginer level and that was awesome. Looking forward for the new video on java. Thanks man

_ravi_kumar_gupta
Автор

Thank you for such an amazing tutorial !!!. it was worth it to spend a few hours to really really learn the fundamentals.
Nelson, I loved the pace of this incredible illustration. If you ever come to Denver, please drop me a note, I would take you and Nana to a dinner. A restaurant of your choice. I am serious !!. that's the least I can do to express my appreciation and gratitude to you all for spending your time to educate everyone here. Thanks you again !!. Mat.

mathewkargarzadeh
Автор

Walaikum assalam wa rahmatullahi wa barakatuh - Jazak ALLAH Ya Khair and thank you very much guys for this effort - only ALLAH Subhana Ta'ala can give you rewards for your efforts, stay blessed.... a lot of love and dua from Pakistan ❤

aftabkhalid
Автор

I can pretty much say was pretty much a good course. I really enjoyed it and learned a lot. Thank you guys for such amazing work!

mehranjanfeshan
Автор

I watched your 3hours Docker video, I must say you are one of the best teacher I have come across on youtube.. Thank you so much as I now have a good understanding of Docker.

maryo
Автор

Excellent. If you're a beginner and found this tutorial, you're super lucky

DuyTran-sslu