我是 docker 的新手,正在尝试将一些图像推送到我使用自签名证书创建的 docker registry
。
码头推送
<IP-Address>:5000/hello-world
但它给出了以下错误:
推送是指存储库
[<IP-Address>:5000/hello-world]
Get https://<IP-Address>:5000/v1/_ping: x509:
无法验证证书
<IP-Address> because it doesn't contain any IP SANs
如果我使用域代替 IP 地址, docker 推送
<domain-name.com>:5000/hello-world
显示错误:
推送是指存储库
[<domain-name.com>:5000/hello-world]
Get https://<domain-name.com>:5000/v1/_ping: x509:
由未知权威签署的证书
我错过了什么吗?如何解决这个错误?
最佳答案
查看答案 here分步指南设置私有(private)注册表。希望这会有所帮助。
关于linux - 私有(private) Docker 注册表错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39529801/