From 37c9686c42f1df17bf044c8eebe058702868b260 Mon Sep 17 00:00:00 2001 From: Nathan Gaddis Date: Mon, 29 Jul 2024 19:18:41 +0000 Subject: [PATCH] Added instructions for creating ECR images from images in Docker Hub --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 727fab5..563d8c1 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,24 @@ If all three of these review stages are satisfactory then the approval will be g All Docker images are published on Docker Hub under the RTI BioCloud organization. You can find the repository at https://hub.docker.com/u/rtibiocloud. Each image is tagged using the following format: `_`. When adding new Dockerfiles, the GitHub action will automatically build and push the Docker images to Docker Hub. If the corresponding repository does not exist, the push command will create it. +# ECR +To create AWS ECR images from Docker images in Docker Hub, run the following code: +``` shell +# Pull image to be transferred to local system +docker pull + +# Authenticate your Docker client to the Amazon ECR registry +aws ecr get-login-password --region region | docker login --username AWS --password-stdin .dkr.ecr.region.amazonaws.com + +# Create repository in ECR for image + +# Tag image +docker tag .dkr.ecr.us-west-2.amazonaws.com/: + +# Push image +docker push .dkr.ecr.us-west-2.amazonaws.com/: +```

# Contact Us