Hello everyone, in this video we’ll walk through on how to build a docker image and push it to AWS ECR.
Following are the commands to tag docker image, login to AWS ECR and push it to AWS ECR:
1. docker tag simple-flask-api:latest aws_account_id.dkr.ecr.region.amazonaws.com/flask_app
2. aws ecr get-login-password –region region | docker login –username AWS –password-stdin aws_account_id.dkr.ecr.region.amazonaws.com/flask_app
3. docker push aws_account_id.dkr.ecr.region.amazonaws.com/flask_app
Following is the link to the github repo:
*********Contents of the video***********
0:00 Intro
0:10 Welcome
0:44 Walthrough
2:00 Create AWS ECR repo
3:07 AWS ECR Loginusing AWS-CLI
3:45 Tag existing docker-image
4:11 Push docker-image to ECR
4:50 Thank you
Subscribe to our channel if you haven’t yet and don’t forget to hit
the bell icon so that you never miss out any of our latest videos..
Support us by hitting the like button, sharing our videos,
dropping your valuable thoughts and suggestions in the comment section below.
******TAGS******
#flask-api-on-docker
#flask-docker
#flask-docker-image
#flask-Dockerfile
#run-flask-app-on-docker
#docker-ecr
#aws-ecr
#ecr
source