Amazon ECR: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


  docker login -u AWS -p .... https://673499572719.dkr.ecr.us-west-2.amazonaws.com
  docker login -u AWS -p .... https://673499572719.dkr.ecr.us-west-2.amazonaws.com
Run the command to log into the repository.

Revision as of 21:36, 2 October 2018

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

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.