Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth credentials error trying to build docker file #1

Open
urlbox-io opened this issue Jul 28, 2017 · 1 comment
Open

auth credentials error trying to build docker file #1

urlbox-io opened this issue Jul 28, 2017 · 1 comment

Comments

@urlbox-io
Copy link

Hey there, I tried following the instructions, setup my own ecr registry and logged in, then tried to build the docker file but get:

➜  aws-lambda-xvfb git:(master) ✗ docker build -t aws-lambda-xvfb .
Sending build context to Docker daemon  113.9MB
Step 1/16 : FROM 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest
Get https://137112412989.dkr.ecr.us-west-2.amazonaws.com/v2/amazonlinux/manifests/latest: 
no basic auth credentials

I'm guessing because the dockerfile is trying to pull from a private repo base image?

@kylegato
Copy link

kylegato commented Aug 8, 2017

@urlbox-io yeah I ran into the same thing. You can try removing the "137112412989.dkr.ecr.us-west-2.amazonaws.com/" section and it'll pull from https://hub.docker.com/_/amazonlinux/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants