Тёмный

5 steps to Deploy docker image to Kubernetes (FOR BEGINNERS UPDATED) 

beginner.academy
Подписаться 3,2 тыс.
Просмотров 36 тыс.
50% 1

In this video, I'll show you 4 main steps required to push the docker image to the docker hub registry.
how to create to docker file
How to create a repository in the docker hub.
how to create a docker image from a docker file
How to push the newly created docker image into the docker hub registry repository.
docker image complete tutorial for absolute beginners
How to create docker image with labs
It's a super simple step to do these tasks.
Make sure you stick around to the end because I'm gonna share with you an incredibly simple step to create a pod in the Kubernetes cluster using the newly created docker image.
The prerequisite for this lab exercise is
Docker should be installed on your laptop and docker should be running state.
Docker hub free account is created
Git bash is installed to run the Linux commands
Creation of Dockerfile
Open terminal/git bash, and type docker images. As you could see there are no images are present.
Create a folder as a docker
Create a file called Dockerfile inside the docker folder.
Add the below in Dockerfile and save the file.
FROM nginx
COPY index.html /usr/share/nginx/html/index.html
Here we are extending the docker Nginx image, which is mentioned in the first line.
and then overriding the index.html file with our own index.html
Create index.html and fill data into it.
Docker build
"If you're finding value in this video, give it a thumbs-up.It really makes a huge difference.
"Hey, it's Sangamesh here from Beginner Academy,
where we help you grow in the cloud and DevOps-related technologies."
#devops #devopsforbeginners
#DevOps #beginners
#handsonlearning
💛 Follow us on IG : ► / beginner.academy
💚 Follow us on FB : ► / 580314426414395
🧡 Follow us on TG : ► t.me/beginner_...
💛 Follow us on YT : ► www.youtube.co...
#devops #devopsforbeginners
#DevOps #beginners
#handsonlearning
In case, if you want to connect via linked in, My linked id is / sangamesh-kotni-4b92989
If you are a beginner or individual who wants to switch to/learn IT DevOps/cloud/Kubernetes. Then please join.
RU-vid: www.youtube.co...
Telegram: t.me/beginner_...
FB: / 580314426414395
Insta: / beginner.academy
beginner.academy/

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

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@aniketchavan4722
@aniketchavan4722 Год назад
You saved my day thanks a lot man
@beginneracademy
@beginneracademy Год назад
Glad we could help
@pinakimukherjee2084
@pinakimukherjee2084 Год назад
Thanks
@beginneracademy
@beginneracademy Год назад
Welcome
@gijsvanzoelen
@gijsvanzoelen Год назад
You absolutely saved me, thanks for the easy tutorial
@beginneracademy
@beginneracademy Год назад
Glad it helped!
@alejandrasandoval5244
@alejandrasandoval5244 Год назад
Hi, sorry I have a problem with the command kubectl port-forward service/demonginxsvc 7080:80 because when I try to go to 127.0.0.1:8080 in the browser, the console gives this message Handling connection for 8080 E0316 23:57:33.751125 16576 portforward.go:406] an error occurred forwarding 8080 -> 80: error forwarding port 80 to pod Connection refused lost connection to pod. Maybe do you know why? or how can i fix it?
@beginneracademy
@beginneracademy Год назад
Hi , try to go to 127.0.0.1:7080 in the browser, then it will work. As in the port forward command "kubectl port-forward service/demonginxsvc 7080:80 " We are using 7080 port and not the 8080 port. Hope it solves your issues.
@kumar-tc4md
@kumar-tc4md 6 месяцев назад
Excellent
@beginneracademy
@beginneracademy 6 месяцев назад
Thank you so much 😀
Далее
Docker   Resolvendo Problemas De BIOS e HyperV
5:06
Просмотров 6 тыс.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
The intro to Docker I wish I had when I started
18:27
Просмотров 125 тыс.
How I deploy serverless containers for free
6:33
Просмотров 512 тыс.