使用港口复制功能时,发生错误,以下是港口页面引发的消息:
2018-08-08T03:17:55Z [INFO]初始化已完成:信息库:test / nginx,标签:[1.15.0-alpine],源注册表:URL-{https://registry.xx.com}不正确,目标注册表:URL-https://registry-slave.xx.com不安全-假
2018-08-08T03:17:55Z [警告]在目标注册表上创建项目测试时,状态代码为409,请尝试执行下一步
2018-08-08T03:17:55Z [INFO] test / nginx:1.15.0-alpine已成功从源注册表中提取:sha256:d7fc30c06e14292fd552a99418f8c620b98fa08bb9ea2160ff2ce5630bf544ef 2018-08-08T03:17:55Z [INFO]将Blob sha256:f02a96e1258fc593ef6023ce2df542ae8e5013a7862294626540540fd0a1fd82231传输到目标注册表...
2018-08-08T03:17:55Z [ERROR] [job_logger.go:81]:从源注册表:strconv中提取test / nginx:1.15.0-alpine的blob sha256:f02a96e1258fc593ef6023ce2df542ae8e5013a7862294626540fd0a1fd82231时发生错误。 :解析“”:语法无效
注释:
港口可以很好地用作注册表,包括登录,提取或推送图像。唯一的问题是复制现在无法正常工作。
“ docker pull / push Registry.xx.com/test/nginx:1.15.0-alpine”是可以的
环境:
linux:Red Hat Enterprise Linux Server 7.5(Maipo)
harbor:v1.5.0
docker(客户端和服务器):17.12.1-ce
网络拓扑:
apache和Harbor都部署在同一KVM上
<VirtualHost *:443>
SSLEngine on
SSLProxyEngine on
SSLProtocol all -SSLv2
...
ServerName registry.xx.com
ProxyPreserveHost On
LimitRequestBody 0
<Location />
Require all granted
ProxyPass https://127.0.0.1:8082/
ProxyPassReverse https://127.0.0.1:8082/
</Location>
...
</VirtualHost>
services:
...
proxy:
...
ports:
- 127.0.0.1:8082:443
hostname = registry.xx.com
ui_url_protocol = https
有人可以给我一些提示吗?谢谢〜