Amazon ECR: Difference between revisions
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | =External= | ||
* https://aws.amazon.com/ecr/ | |||
* https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_GetStarted.html | * https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_GetStarted.html | ||
Line 15: | Line 16: | ||
* Install the latest [[AWS CLI#Installation|AWS CLI]] | * Install the latest [[AWS CLI#Installation|AWS CLI]] | ||
* Install Docker | * Install Docker | ||
* Retrieve the login command to use to authenticate your Docker client to your registry: | * Retrieve the login command to use to authenticate your Docker client to your registry (use the actual region): | ||
aws ecr get-login --no-include-email --region us-west-2 [--registry-ids AWS_ACOUNT_ID1 AWS_ACCOUNT_ID2 ...] | |||
The return of the command is similar to: | |||
docker login -u AWS -p .... https://673499572719.dkr.ecr.us-west-2.amazonaws.com | |||
Run the command to log into the repository. | |||
=Subjects= | |||
* [[Amazon ECR Concepts|Concepts]] | |||
* [[Amazon ECR Operations|Operations]] |
Latest revision as of 09:48, 6 February 2019
External
- https://aws.amazon.com/ecr/
- https://docs.aws.amazon.com/AmazonECR/latest/userguide/ECR_GetStarted.html
Internal
Overview
Amazon Elastic Container Registry (Amazon ECR) is a managed Docker registry service. Customers can use the Docker CLI to push, pull, and manage images. Amazon ECR provides a secure, scalable, and reliable registry. Amazon ECR supports private Docker repositories with resource-based permissions using IAM so that specific users or Amazon EC2 instances can access repositories and images. Developers can use the Docker CLI to author and manage images.
Configure Access
- Install the latest AWS CLI
- Install Docker
- Retrieve the login command to use to authenticate your Docker client to your registry (use the actual region):
aws ecr get-login --no-include-email --region us-west-2 [--registry-ids AWS_ACOUNT_ID1 AWS_ACCOUNT_ID2 ...]
The return of the command is similar to:
docker login -u AWS -p .... https://673499572719.dkr.ecr.us-west-2.amazonaws.com
Run the command to log into the repository.