AWS CLI ECR and ECS Cheat Sheet/Describe repositories

List ECR repositories in the account.

Section: ECR

Describe repositories

bash
bash
aws ecr describe-repositories
Explanation

Useful for registry inventory scripts.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing ECR
Create an ECR repository
Create a private image repository.
OpenIn sheetbashsame section
Get ECR login password
Generate a password token for Docker login.
OpenIn sheetbashsame section
List images in a repository
Show image IDs in an ECR repository.
OpenIn sheetbashsame section
Describe image details
Inspect pushed images, tags, sizes, and timestamps.
OpenIn sheetbashsame section
Delete one or more images
Remove images from a repository by tag or digest.
OpenIn sheetbashsame section
Set an ECR lifecycle policy
Attach a lifecycle policy document to a repository.
OpenIn sheetbashsame section