Skip to content

Instantly share code, notes, and snippets.

@mvsusp
Last active July 19, 2018 16:17
Show Gist options
  • Select an option

  • Save mvsusp/f32e91adc414ecb226fb20b84bf76c72 to your computer and use it in GitHub Desktop.

Select an option

Save mvsusp/f32e91adc414ecb226fb20b84bf76c72 to your computer and use it in GitHub Desktop.
How to docker pull AWS SageMaker public images
#!/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