grammarly / rocker-compose

Docker composition tool with idempotency features for deploying apps composed of multiple containers.
Other
407 stars 26 forks source link

Failed to pull image "Authentication is required" but docker pull works fine #20

Closed bluntpeak closed 8 years ago

bluntpeak commented 9 years ago

Wondering if I am missing something here.

Background: Using docker-machine to provision nodes and weave for networking between containers.

I can use docker pull just fine from my mac onto a remote node using the env vars setup by docker-machine env nodename

But as soon as rocker run needs to pull an image it fails with "Authentication is required"

Should Rocker not find the ~/.dockercfg for access to our private repo just the same as other docker tools seem to?

Currently running:

Registry V1 (not updated to V2 yet)

Client version: 1.7.1 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 786b29d OS/Arch (client): darwin/amd64 Server version: 1.8.2 Server API version: 1.20 Go version (server): go1.4.2 Git commit (server): 0a8c2e3 OS/Arch (server): linux/amd64