aws ecr delete-repository --repository-name
aws ecr delete-repository --repository-name <name> [--force]
Risk: Can lose work
What it does
Deletes a shelf. With --force, every image on it goes too.
When to use it
When the project is over. Check the name twice.
Example
$ aws ecr delete-repository --repository-name ubuntu --forceDelete the shelf and its images.
Learn it in: ECR: your image shelf · Official docs