Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.

First run with private repositories fails #276

Closed
ckarenz opened this issue Jan 25, 2017 · 5 comments
Closed

First run with private repositories fails #276

ckarenz opened this issue Jan 25, 2017 · 5 comments
Assignees
Labels

Comments

@ckarenz
Copy link
Contributor

ckarenz commented Jan 25, 2017

When building a project which uses our default private repository, we've seen an error on several machines. This only happens on machines with Docker newly installed.

Command (in a DockerBuildPlugin-enabled project):

sbt dockerBuild

Result:

Sending build context to Docker daemon 9.157 MB

Step 1/5 : FROM allenai-docker-private-docker.bintray.io/oracle-java:8

Get https://allenai-docker-private-docker.bintray.io/v2/oracle-java/manifests/8: unauthorized: Unauthorized

...

There appears to be a workaround by pulling an image manually, after which everything works:

docker pull allenai-docker-private-docker.bintray.io/oracle-java:8
@jkinkead
Copy link
Contributor

What does "newly installed" mean?

Does running a docker build from the commandline with the same dependency cause an error?

@ckarenz
Copy link
Contributor Author

ckarenz commented Jan 25, 2017

Newly installed: Having freshly installed Docker, set up credentials, etc. Essentially following our setup guide for the first time on a machine.

Docker build: We can try this next time we see the issue, but we haven't tried it yet.

@jkinkead
Copy link
Contributor

Does the problem resolve itself on reboot?

@jkinkead
Copy link
Contributor

Also, did this occur for anyone other than @splittingfield ? He was using the beta client and might have hit a bug.

We've had several people set up Docker since he did without running into issues.

@ckarenz
Copy link
Contributor Author

ckarenz commented Jan 25, 2017

We haven't tried a reboot of the machine. Restarting Docker doesn't resolve the issue.

These people have hit the issue so far: @splittingfield, @cindy21td, @jayantk

Jayant is on the stable client (1.13).

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

No branches or pull requests

2 participants