如何让docker客户端信任令牌auth服务器上的自签名证书

时间:2015-08-19 20:18:37

标签: docker docker-registry

我尝试使用自签名证书设置包含令牌身份验证的docker注册表v2。

我可以让我的docker客户端信任docker注册表(通过在boot2docker中将ca.crt添加到/etc/docker/certs.d/registry.example.com/中)

我不知道如何告诉docker注册表v2信任auth服务器。我收到以下错误:

FATA[0003] Error pushing to registry: Get 
https://docker-auth.example.com/auth?
scope=repository%3Atest%3Apull%2Cpush&service=registry.example.com: 
x509: certificate signed by unknown authority

我在这里使用docker auth服务器:https://github.com/brandnetworks/docker_auth

0 个答案:

没有答案
相关问题