Last active
July 19, 2018 16:17
-
-
Save mvsusp/f32e91adc414ecb226fb20b84bf76c72 to your computer and use it in GitHub Desktop.
How to docker pull AWS SageMaker public images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # All the images are available under the AWS account id bellow | |
| ACCOUNT_ID=520713654638 | |
| TAG=1.7.0-gpu-py2 | |
| # get aws region | |
| REGION=$(aws configure get region) | |
| # Allows docker to access the repository via Docker login | |
| $(aws ecr get-login --no-include-email --registry-ids ${SAGEMAKER_ACCOUNT_ID}) | |
| # Pulling the image | |
| docker pull ${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/sagemaker-tensorflow:${TAG} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment