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

已提问 5 年前416 查看次数
2 回答
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
已回答 5 年前
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
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则