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