Amazon ECR: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(7 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 14: Line 15:


* Install the latest [[AWS CLI#Installation|AWS CLI]]
* Install the latest [[AWS CLI#Installation|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.
=Subjects=
* [[Amazon ECR Concepts|Concepts]]
* [[Amazon ECR Operations|Operations]]

Latest revision as of 09:48, 6 February 2019

External

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.

Subjects