Difference between revisions of "Builder:Amazon Docker Repository"

From Tootsville Wiki-Wiki
Jump to: navigation, search
(Created page with "Where Docker images for the game server are stored and from which they are launched https://662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville Tools * AWS...")
 
Line 1: Line 1:
 
Where Docker images for the game server are stored and from which they are launched
 
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
 
https://662889356442.dkr.ecr.us-east-1.amazonaws.com/violet-volts/tootsville
  
−
Tools
+
==Tools==
  
 
* AWS http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-with-pip
 
* AWS http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-with-pip
 
* Docker (integrated in Fedora)
 
* 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

Revision as of 23:16, 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

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