Builder:Amazon Docker Repository

From Tootsville Wiki-Wiki
Jump to: navigation, search

Where Docker images for the game server are stored and from which they are launched

URL[edit]

https://662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville

Tools[edit]

Operation[edit]

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