Docker - AWS ECR ECS Fargate with Ubuntu Error Fixed!

Commands used in this Docker - AWS ECR ECS Fargate
sudo docker images
sudo docker tag thakishore/kishoreapp 211125427696.dkr.ecr.ap-south-1.amazonaws.com/kishoreweb/kishorerep
aws configure
aws sts get-caller-identity
sudo mkdir -p /root/.aws
sudo cp ~/.aws/credentials /root/.aws/credentials
sudo cp ~/.aws/config /root/.aws/config
sudo aws ecr get-login-password --region ap-south-1 | sudo docker login --username AWS --password-stdin 211125427696.dkr.ecr.ap-south-1.amazonaws.com
sudo docker push 211125427696.dkr.ecr.ap-south-1.amazonaws.com/kishoreweb/kishorerep:latest

Step 1:


Step 2:


Step 3:


Step 4:


Step 5:


Step 6:


Step 7:


Step 8:


Step 9:


Step 10:


Step 11:


Step 12:


Step 13:

Step 14:

Step 15:

Step 16:

Step 17:

Step 18:

Errors & Fix: