Guest User

Untitled

a guest
Jul 19th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. # All the images are available under the AWS account id bellow
  4. ACCOUNT_ID=520713654638
  5.  
  6. TAG=1.7.0-gpu-py2
  7.  
  8. # get aws region
  9. REGION=$(aws configure get region)
  10.  
  11. # Allows docker to access the repository via Docker login
  12. $(aws ecr get-login --no-include-email --registry-ids ${SAGEMAKER_ACCOUNT_ID})
  13.  
  14. # Pulling the image
  15. docker pull ${ACCOUNT_ID}.dkr.ecr.${REGION}.amazonaws.com/sagemaker-tensorflow:${TAG}
Add Comment
Please, Sign In to add comment