Skip to content

How to Create an AWS ECR Repository in AWS CLI

If you need to create an Elastic Container Registry (ECR) Repository from the AWS CLI, you can do the following:

aws ecr create-repository \ --repository-name <repo-name> \ --image-scanning-configuration scanOnPush=true \ --region ${AWS_REGION}
Code language: Bash (bash)

See also  The String Combat Challenge in Java
Tags:
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x