ECR
private Docker image repo of AWS
as alternative to public Docker hub
access is controlled (exam)
through IAM
so if you need to push or pull to ECR, you need the correct permissions, IAM policy
if you get permission errors - check IAM policy
how you can authenticate against ECR using the CLI (exam)
you should run the output of this command
$(aws ecr get-login –no-include-email –region eu-west-i) | docker login –username AWS –password-strin |
Docker push and pull
use the complete image url
docker push
docker pull
security
data is sent over HTTPS to ECS
ecnryption in flight (HTTPs) and inages are also encrypted at rest