Difference between revisions of "Builder:Amazon Docker Repository"
From Tootsville Wiki-Wiki
BRFennPocock (talk | contribs) |
BRFennPocock (talk | contribs) |
||
| Line 16: | Line 16: | ||
3) 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: | 3) 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 violet-volts/tootsville . | + | docker build -t violet-volts/tootsville . |
4) After the build completes, tag your image so you can push the image to this repository: | 4) After the build completes, tag your image so you can push the image to this repository: | ||
Revision as of 23:17, 25 July 2016
Where Docker images for the game server are stored and from which they are launched
URL
https://662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville
Tools
- AWS http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-with-pip
- Docker (integrated in Fedora)
Operation
1) Retrieve the docker login command that you can use to authenticate your Docker client to your registry:
aws ecr get-login --region us-east-1
2) Run the docker login command that was returned in the previous step. 3) 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 violet-volts/tootsville .
4) After the build completes, tag your image so you can push the image to this repository:
docker tag violet-volts/tootsville:latest 662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville:latest
5) Run the following command to push this image to your newly created AWS repository:
docker push 662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville:latest