3 ms·
Was the OS X binary built without cgo? I can't seem to access containers in private https registries: $ docker login https://registry.example.com 2014
by joeshaw 13y ago
Was the OS X binary built without cgo? I can't seem to access containers in private https registries:
$ docker login https://registry.example.com
2014/02/05 14:36:20 Invalid Registry endpoint: Get https://registry.example.com/v1/_ping: x509: failed to load system roots and no roots provided
The hostname in question has a valid SSL certificate. I encountered a similar problem in the past with Go built from homebrew[1][2]. Has anyone else seen this?
[1] https://github.com/Homebrew/homebrew/pull/17758 https://github.com/Homebrew/homebrew/pull/17758
[2] https://code.google.com/p/go/issues/detail?id=4791 https://code.google.com/p/go/issues/detail?id=4791
Update: Filed a bug against docker, others are having the same issue. https://github.com/dotcloud/docker/issues/3946 https://github.com/dotcloud/docker/issues/3946
- crosbymichael 13y agoThanks for the report. We are working on a fix ASAP and will post updates on https://github.com/dotcloud/docker/issues/3683 https://github.com/dotcloud/docker/issues/3683.
- jschorr 13y agoIn the meantime, if you need to get it working right now, you can build your own binary as outlined here: http://blog.devtable.com/2014/01/using-docker-on-osx-with-private.html http://blog.devtable.com/2014/01/using-docker-on-osx-with-pr... We've confirmed the instructions still work with Docker 0.8 (make sure to change the checkout branch though :))