Hello World

Be Happy!

push to ECS private registry


  1. Retrieve an authentication token and authenticate your Docker client to your registry.
Use the AWS CLI:
aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin xxxxxxxxxx.dkr.ecr.us-west-1.amazonaws.com
Note: If you receive an error using the AWS CLI, make sure that you have the latest version of the AWS CLI and Docker installed.

2. Build your Docker image using the following command. For information on building a Docker file from scratch see the instructions here . You can skip this step if your image is already built:
docker build -t cw-ovp .

3. After the build completes, tag your image so you can push the image to this repository:
docker tag cw-ovp:latest xxxxxxxxxx.dkr.ecr.us-west-1.amazonaws.com/cw-ovp:latest

4. Run the following command to push this image to your newly created AWS repository:
docker push xxxxxxxxxx.dkr.ecr.us-west-1.amazonaws.com/cw-ovp:latest

#aws (16) #kops (6) #docker (30) #ecs (2) #private-registry (2) #k9s (2)
List