AWS Automation Cookbook by Nikit Swaraj

AWS Automation Cookbook by Nikit Swaraj

Author:Nikit Swaraj
Language: eng
Format: mobi, epub
Publisher: Packt
Published: 2017-11-23T08:52:37+00:00


Now, its time to set up ECR and push a Docker image in ECR.

Getting ready

To play around with ECR, make sure you should take care of these things:

Docker must be installed in your machine or server

AWS CLI should be installed and configured with the access and secret keys of an IAM user, which should have AmazonEC2ContainerRegistryPowerAccess and AmazonEC2ContainerServicePowerAccess policies (we need AmazonEC2ContainerServicePowerAccess cause ECR comes under the section of AWS ECS service).

If preceding things are taken care off, we need to do the following:

Create a repository in ECR

Authenticate your Docker client with AWS ECR

Tag your Docker image with the repository details

Push the image to ECR



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.