Interview Prep/Docker/Registry, pull and push errors

ECR push: `name unknown: The repository with name 'app' does not exist in the registry`

BeginnerTroubleshootingRegistry, pull and push errors
Answer

Likely causes → ECR requires the repository to be created first.

Diagnose → aws ecr describe-repositories.

Fix → aws ecr create-repository --repository-name app --image-scanning-configuration scanOnPush=true.

Prevent → Create repos with Terraform.

All Docker questions Roadmap: Docker & containers

More on Registry, pull and push errors