Possible to experiment with AWS Deep Learning Containers on nonAWS machine?

0

I'm excited about the prospects of experimenting with the recently announced preconfigured Deep Learning containers. I'd like to set things up on my local Docker server, in order to ensure I waste as little time as possible when I move to AWS for the GPU horsepower. Unfortunately, when I run docker pull 763104351884.dkr.ecr.us-east-1.amazonaws.com/mxnet-inference:1.4.0-cpu-py36-ubuntu16.04 on my local machine I get Error response from daemon: no basic auth credentials . Which credentials should I be using, and where should I set them?

Edited by: ivar vasara on Mar 28, 2019 6:55 PM

asked 5 years ago402 views
2 Answers
0

Hi ivar vasara,

You should be able to do pull the image to your local machine. AWS Deep Learning Container images are public and hosted on Amazon ECR - https://aws.amazon.com/ecr/faqs/. In order to securely access the repository, proper authentication from the Docker client to the repository is important. This can be done with a docker login command to authenticate to an ECR registry that provides an authorization token valid for 12 hours. If you’re using the AWS CLI, you can use a get-login command which retrieves the token, decodes it, and converts into a docker login command for you. You will need an AWS account and export/configue the credentials of an IAM user with Amazon ECR access to do this.

See here for an example on how to login to the Amazon ECR repository where AWS Deep Learning Containers images are hosted: https://docs.aws.amazon.com/dlami/latest/devguide/deep-learning-containers-ec2-setup-prerequisites.html

Read more about authenticating Amazon ECR repositories here: https://aws.amazon.com/blogs/compute/authenticating-amazon-ecr-repositories-for-docker-cli-with-credential-helper/

AWS docs on ECR registry authentication docs: https://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth

Let us know if you have more questions.

Thanks

AWS
answered 5 years ago
0

Hi ivar vasara,

Let us know if you have additional questions. You can also find support on the DL Containers forum here: https://forums.aws.amazon.com/forum.jspa?forumID=341

Best,
Aditya

AWS
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions