我们有一台nexus3服务器,配置了一个用于http使用的docker代理。
在客户端上,我添加了--registry-mirror http://thenexus:8082,当我尝试以docker pull alpine:3.4
为例时,我会进入日志 - >
level=error msg="Attempting next endpoint for pull after error: Get http://thenexus:8082/v2/library/alpine/manifests/3.4: no basic auth credentials"
但如果我curl http://thenexus:8082/v2/library/alpine/manifests/3.4
它有效,那么我就不需要凭据。
我在ubuntu 16.04上使用docker 1.12.2