Uploaded November 2019 | Updated November 2026, 3 hours ago
Dockerfile simply explained. This is a Dockerfile tutorial by example.
To deploy your application with Docker it must be packaged to it's own docker container. So, this means a docker image needs to be built from our JavaScript and Nodejs application and prepare it to be deployed on some environment. This will usually be done by an CD like Jenkins.
But in this video we will simulate what Jenkins does locally, building a docker image from our application locally.
▬▬▬▬▬▬ T I M E S T A M P S 🐳
0:00 - Intro
1:49 - What is a Dockerfile?
2:22 - How the Dockerfile commands map to the image environment
8:05 - Create the Dockerfile (Demo)
12:00 - Build an image out of the Dockerfile
15:02 - Start the Application to verify: 1) App starts successfully 2) App environment is configured correctly
19:34 - do improvement - copy only relevant files
"Docker in Practice":
Developing with Docker ► youtu.be/6YisG2GcXaw
Docker Compose ► youtu.be/MVIcrmeV_6c
Dockerfile ► youtu.be/WmcdMiyqfZs
Private Repository ► youtu.be/vWSRWpOPHws
Deploy your containerized Application ► youtu.be/ZowjOhpAcIc
You can check out my videos for the Pre-Requisites:
✅ Basic Docker Concepts: youtu.be/GeqaTjKMWeY
✅ Basic Commands: youtu.be/xGn7cFR3ARU
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
►► Full Docker and Kubernetes Tutorial Playlist: bit.ly/2YGeRp9
This video is the 10th of a complete series for beginners, where I explain the basic concepts and also show you demo's like deploying your containerized application. At the end of this tutorial you will fully understand Docker and Kubernetes.
💡 Only interested in Docker?
►► Complete Docker Tutorial Playlist: bit.ly/2ymJHbX
#docker #dockertutorials #devops #techworldwithnana
-------------------------------------------------------------------------------------
The complete step-by-step guide to Docker and Kubernetes will include the following content:
🐳 D O C K E R
- Container concept
- Why docker? (image vs. traditional DevOps)
- Install docker on different operating systems
- 8 basic commands you need to know
- Docker vs. Virtual Machine
- Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment)
- Develop an application with Docker
- Docker Compose
- Dockerfile
- Private Repository
- Deploying your containerized application
- Docker Volumes from theory to practice
✵ K U B E R N E T E S
- Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
- Kubernetes architecture for beginners (master, slave nodes & processes)
- Understand how does K8s REALLY work? Main Concepts of how to use K8s
- Minikube, Kubectl - set up the cluster and connect to it
- Kubectl main commands - Demo
- Configuration file (YAML) - syntax
- Kubernetes Namespaces
- Communication between the pods - basic networking concepts in Kubernetes
- K8s Deployment in practice - example application deployment (pod + service + Ingress + secret)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► bit.ly/32UVSZP
Don't forget to subscribe ► bit.ly/3mO4jxT
DEV ► bit.ly/3h2fqiO
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Legal Notice:
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Docker, Inc.
Dockerfile simply explained. This is a Dockerfile tutorial by example.
To deploy your application with Docker it must be packaged to it's own docker container. So, this means a docker image needs to be built from our JavaScript and Nodejs application and prepare it to be deployed on some environment. This will usually be done by an CD like Jenkins.
But in this video we will simulate what Jenkins does locally, building a docker image from our application locally.
▬▬▬▬▬▬ T I M E S T A M P S 🐳
0:00 - Intro
1:49 - What is a Dockerfile?
2:22 - How the Dockerfile commands map to the image environment
8:05 - Create the Dockerfile (Demo)
12:00 - Build an image out of the Dockerfile
15:02 - Start the Application to verify: 1) App starts successfully 2) App environment is configured correctly
19:34 - do improvement - copy only relevant files
"Docker in Practice":
Developing with Docker ► youtu.be/6YisG2GcXaw
Docker Compose ► youtu.be/MVIcrmeV_6c
Dockerfile ► youtu.be/WmcdMiyqfZs
Private Repository ► youtu.be/vWSRWpOPHws
Deploy your containerized Application ► youtu.be/ZowjOhpAcIc
You can check out my videos for the Pre-Requisites:
✅ Basic Docker Concepts: youtu.be/GeqaTjKMWeY
✅ Basic Commands: youtu.be/xGn7cFR3ARU
For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible.
►► Full Docker and Kubernetes Tutorial Playlist: bit.ly/2YGeRp9
This video is the 10th of a complete series for beginners, where I explain the basic concepts and also show you demo's like deploying your containerized application. At the end of this tutorial you will fully understand Docker and Kubernetes.
💡 Only interested in Docker?
►► Complete Docker Tutorial Playlist: bit.ly/2ymJHbX
#docker #dockertutorials #devops #techworldwithnana
-------------------------------------------------------------------------------------
The complete step-by-step guide to Docker and Kubernetes will include the following content:
🐳 D O C K E R
- Container concept
- Why docker? (image vs. traditional DevOps)
- Install docker on different operating systems
- 8 basic commands you need to know
- Docker vs. Virtual Machine
- Docker in Practice: Overview of whole development process with Docker (development, continuous delivery, deployment)
- Develop an application with Docker
- Docker Compose
- Dockerfile
- Private Repository
- Deploying your containerized application
- Docker Volumes from theory to practice
✵ K U B E R N E T E S
- Main Kubernetes components (including Pod, Service, Ingress, Volumes, ConfigMap, Secrets, Deployment, StatefulSet)
- Kubernetes architecture for beginners (master, slave nodes & processes)
- Understand how does K8s REALLY work? Main Concepts of how to use K8s
- Minikube, Kubectl - set up the cluster and connect to it
- Kubectl main commands - Demo
- Configuration file (YAML) - syntax
- Kubernetes Namespaces
- Communication between the pods - basic networking concepts in Kubernetes
- K8s Deployment in practice - example application deployment (pod + service + Ingress + secret)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► bit.ly/32UVSZP
Don't forget to subscribe ► bit.ly/3mO4jxT
DEV ► bit.ly/3h2fqiO
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
Legal Notice:
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries. Docker, Inc. and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Docker, Inc.
![Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
► Grab your free DevOps Roadmap: https://bit.ly/3RUQ7UK
💚 Become a DevOps Engineer - full educational program: https://bit.ly/3MRjKEE
Full Kubernetes Tutorial | Kubernetes Course | Hands-on course with a lot of demos
Connect with me 👋
INSTAGRAM ► https://bit.ly/2F3LXYJ
LINKEDIN ► https://bit.ly/3hWOLVT
▬▬▬▬▬▬ 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): https://bit.ly/38bLcJy
- Install Kubectl: https://bit.ly/32bSI2Z
- Gitlab: If you are using Mac, you can follow along the commands. I listed them all here: https://bit.ly/3oZzuHY
🔥 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
🔗 - Git repo link of all the commands: https://bit.ly/3oZzuHY
🔥 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
🔗 - Git repo link: https://bit.ly/2JBVyIk
🔥 Demo Project 🔥
► Deploying MongoDB and Mongo Express
► MongoDB Pod
► Secret
► MongoDB Internal Service
► Deployment Service and Config Map
► Mongo Express External Service
🔗 - Git repo link: https://bit.ly/3jY6lJp
🔥 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
🔗 - Install Kubectx: https://github.com/ahmetb/kubectx#installation
🔥 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: https://bit.ly/3mJHVFc
- Ingress Controllers: https://bit.ly/32dfHe3
- Ingress Controller Bare Metal: https://bit.ly/3kYdmLB
🔥 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: https://hub.helm.sh/
- Helm charts GitHub Project: https://github.com/helm/charts
- Install Helm: https://helm.sh/docs/intro/install/
🔥 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)
🔗 - Git Repo: https://bit.ly/2Gv3eLi
🔥 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 for Beginners [FULL COURSE in 4 Hours]](https://i.ytimg.com/vi/X48VuDVv0do/mqdefault.jpg)









