Docker and Kubernetes Tutorial | Full Course [2021]

Docker and Kubernetes Tutorial | Full Course [2021]



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 ????

► Subscribe to Nana’s channel here:
► Courses Available for free here –
► Join Private Facebook Group –
► Join Discord –

???? 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:
► Don’t forget to subscribe |
► Join Closed Facebook Group for discussion and early access videos and courses |
► Follow me on Instagram |
► Join Discord –

❤️ Thanks for watching

#docker #kubernetes #devops

#Docker #Kubernetes #Tutorial #Full

learn docker

kubernetes tutorial,learn kubernetes,k8s,docker tutorial,kubernetes tutorial for beginners step by step,kubernetes vs docker,learn kubernetes step by step,docker container tutorial,what is docker container,docker and kubernetes container basics,docker tutorial for beginners,docker crash course,kubernetes crash course,docker and kubernetes the complete guide,docker and kubernetes tutorial,docker and kubernetes explained\nlearn kubernetes by building 10 projects




Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]

Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]



Full Kubernetes Tutorial | Kubernetes Course | Hands-on course with a lot of demos
???? Become a Kubernetes Administrator – CKA:
???? Become a DevOps Engineer – full educational program:
???? Udemy courses:

#kubernetes #techworldwithnana

Connect with me ????
INSTAGRAM ►
LINKEDIN ►

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
0:00 – Course Overview
2:18 – What is K8s
5:20 – Main K8s Components
22:29 – K8s Architecture
34:47 – Minikube and kubectl – Local Setup
44:52 – Main Kubectl Commands – K8s CLI
1:02:03 – K8s YAML Configuration File
1:16:16 – Demo Project: MongoDB and MongoExpress
1:46:16 – Organizing your components with K8s Namespaces
2:01:52 – K8s Ingress explained
2:24:17 – Helm – Package Manager
2:38:07 – Persisting Data in K8s with Volumes
2:58:38 – Deploying Stateful Apps with StatefulSet
3:13:43 – K8s Services explained

▬▬▬▬▬▬ COURSE OVERVIEW ???? ▬▬▬▬▬▬
???? What is Kubernetes ????
► What problems does Kubernetes solve?
► What features do container orchestration tools offer?

???? Main K8s Components ????
► Node & Pod
► Service & Ingress
► ConfigMap & Secret
► Volumes
► Deployment & StatefulSet

???? K8s Architecture ????
► Worker Nodes
► Master Nodes
► Api Server
► Scheduler
► Controller Manager
► etcd – the cluster brain

???? Minikube and kubectl – Local Setup ????
► What is minikube?
► What is kubectl?
► install minikube and kubectl
► create and start a minikube cluster

???? Links:
– Install Minikube (Mac, Linux and Windows):
– Install Kubectl:
– Gitlab: If you are using Mac, you can follow along the commands. I listed them all here:

???? Main Kubectl Commands – K8s CLI ????
► Get status of different components
► create a pod/deployment
► layers of abstraction
► change the pod/deployment
► debugging pods
► delete pod/deployment
► CRUD by applying configuration file

???? Links:
– Git repo link of all the commands:

???? K8s YAML Configuration File ????
► 3 parts of a Kubernetes config file (metadata, specification, status)
► format of configuration file
► blueprint for pods (template)
► connecting services to deployments and pods (label & selector & port)
► demo

???? Links:
– Git repo link:

???? Demo Project ????
► Deploying MongoDB and Mongo Express
► MongoDB Pod
► Secret
► MongoDB Internal Service
► Deployment Service and Config Map
► Mongo Express External Service

???? Links:
– Git repo link:

???? Organizing your components with K8s Namespaces ????
► What is a Namespace?
► 4 Default Namespaces
► Create a Namespace
► Why to use Namespaces? 4 Use Cases
► Characteristics of Namespaces
► Create Components in Namespaces
► Change Active Namespace

???? Links:
– Install Kubectx:

???? K8s Ingress explained ????
► What is Ingress? External Service vs. Ingress
► Example YAML Config Files for External Service and Ingress
► Internal Service Configuration for Ingress
► How to configure Ingress in your cluster?
► What is Ingress Controller?
► Environment on which your cluster is running (Cloud provider or bare metal)
► Demo: Configure Ingress in Minikube
► Ingress Default Backend
► Routing Use Cases
► Configuring TLS Certificate

???? Links:
– Git Repo:
– Ingress Controllers:
– Ingress Controller Bare Metal:

???? Helm – Package Manager ????
► Package Manager and Helm Charts
► Templating Engine
► Use Cases for Helm
► Helm Chart Structure
► Values injection into template files
► Release Management / Tiller (Helm Version 2!)

???? Links:
– Helm hub:
– Helm charts GitHub Project:
– Install Helm:

???? Persisting Data in K8s with Volumes ????
► The need for persistent storage & storage requirements
► Persistent Volume (PV)
► Local vs Remote Volume Types
► Who creates the PV and when?
► Persistent Volume Claim (PVC)
► Levels of volume abstractions
► ConfigMap and Secret as volume types
► Storage Class (SC)

???? Links:
– Git Repo:

???? Deploying Stateful Apps with StatefulSet ????
► What is StatefulSet? Difference of stateless and stateful applications
► Deployment of stateful and stateless apps
► Deployment vs StatefulSet
► Pod Identity
► Scaling database applications: Master and Worker Pods
► Pod state, Pod Identifier
► 2 Pod endpoints

???? K8s Services ????
► What is a Service in K8s and when we need it?
► ClusterIP Services
► Service Communication
► Multi-Port Services
► Headless Services
► NodePort Services
► LoadBalancer Services

#Kubernetes #Tutorial #Beginners #FULL #Hours

learn kubernetes

kubernetes,kubernetes tutorial,learn kubernetes,kubernetes tutorial for beginners,kubernetes course,kubernetes crash course,kubernetes ingress,kubernetes networking,kubernetes complete tutorial,kubernetes full course,kubernetes full tutorial,kubernetes helm,kubernetes services,kubernetes volumes,kubernetes pods,kubernetes for beginners,kubernetes deployment,what is kubernetes,techworld with nana,kubernetes architecture,freecodecamp,kodekloud,k8s,devops