aws ecr get-login --region eu-central-1
docker tag de.dplatz/abc:latest <my-aws-url>/de.dplatz/abc:latest
docker push <my-aws-url>/de.dplatz/abc:latest
28 May 2017
Steps to deploy docker containers to AWS EC2:
Created a docker-repository with the name de.dplatz/abc
, you will get a page with all the steps and coordinates for docker login
, docker tag
and docker push
.
From CLI run:
aws ecr get-login --region eu-central-1
docker tag de.dplatz/abc:latest <my-aws-url>/de.dplatz/abc:latest
docker push <my-aws-url>/de.dplatz/abc:latest
See here for starting the container.