How to Build Docker Image and Push it to Docker Hub : PART 1

Опубликовано: 29 Сентябрь 2024
на канале: AOS Note
6,185
102

Courses: https://www.aosnote.com/store
Website: https://www.aosnote.com/

This video will tech you how to build Docker Image and push it to Docker Hub.

Reference Resources:
How to Create a Docker Hub Account:    • How to Create a Docker Hub Account  
How to Connect to your EC2 Instance:    • How to Connect to your EC2 Instance f...  
Commands: https://github.com/azeezsalu/docker-t...
Dockerfile: https://github.com/azeezsalu/docker-t...
How to create a Dockerfile video:    • How to Create a Dockerfile for a Stat...  
How to Host an HTML Website:    • How to Host a Website on an EC2 Instance  

----------------------------------------------------------------------------
AWS Hands-on Projects for Beginners👇
----------------------------------------------------------------------------
✔ Getting Started on AWS Cloud: https://www.aosnote.com/offers/qq2dok...
✔ Deploy a Static Website: https://www.aosnote.com/offers/T7wgpK...
✔ Deploy a WordPress Website: https://www.aosnote.com/offers/xFzqby...
✔ Deploy a Dynamic E-commerce Website: https://www.aosnote.com/offers/gYsmFB...
✔ Deploy a Dynamic Website with Terraform: https://www.aosnote.com/offers/pjYL9y...
✔ Deploy a Static Website with Ansible: https://www.aosnote.com/offers/WgGk2N...
✔ Deploy a Website Docker, AWS ECR, and AWS ECS: https://www.aosnote.com/offers/5hthWg...
✔ Deploy a Dynamic Website with CloudFormation: https://www.aosnote.com/offers/zFhSEi...
----------------------------------------------------------------------------
Projects Coming Soon 👇
----------------------------------------------------------------------------
✔ Deploy a Website with Terraform Modules, AWS ECR, and AWS ECS
✔ Create CICD to Deploy a Dynamic Website
✔ Python and AWS Lambda Project
----------------------------------------------------------------------------
Bootcamp 👇
----------------------------------------------------------------------------
6 Months Cloud/DevOps Bootcamp: https://www.aosnote.com/offers/SZFctC...
----------------------------------------------------------------------------
Courses: https://www.aosnote.com/store
Website: https://www.aosnote.com/
----------------------------------------------------------------------------
Thank you🙏. If you find this video valuable, please don't forget to like, subscribe, and share to support this channel 👍


0:00 - introduction
0:34 - create a repository in docker hub
1:42 - launch and SSH in an EC2 instance
7:11 - install and configure docker on the ec2 instance
11:02 - create a dockerfile
14:33 - build the docker image
16:19 - login to your docker hub account
17:46 - docker tag the image a new name
19:28 - push the image to your docker hub repository
21:20 - start the container to test the image
23:40 - clean up