无法登录私人docker注册表

时间:2016-02-02 21:45:49

标签: authentication ssl https docker artifactory

我正在尝试使用以下命令

登录私人码头注册表(Artifactory)
docker login myserver:myPort
Username: myUser
Password:
email: me@myServer.com

此操作失败并显示以下错误

Error response from daemon: no successful auth challenge for https://myserver:myPort/v2/ - errors: []

请注意,我已强制验证我尝试访问的docker存储库。 我在Docker版本1.9上这是dokcer info

Containers: 0
Images: 20
Server Version: 1.9.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 20
 Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-24-generic
Operating System: Ubuntu 14.04 LTS
CPUs: 4
Total Memory: 1.955 GiB

和泊坞版

Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5
Built:        Fri Nov 20 13:12:04 UTC 2015
OS/Arch:      linux/amd64

server:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5
Built:        Fri Nov 20 13:12:04 UTC 2015
OS/Arch:      linux/amd64

错误是什么意思?

1 个答案:

答案 0 :(得分:0)

您是否可以确保CA证书位于您尝试登录的主机上的以下目录中?

  /etc/docker/certs.d/<registry-server>:<registry-port>/
相关问题