未知权限签署的docker x509证书 [英] docker x509 certificate signed by unkown authority

查看:64
本文介绍了未知权限签署的docker x509证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我绝对是Docker的初学者,并在我的工作站ubuntu 16.04.3上成功安装了最新的Docker版本.

I'm an absolute Beginner in Docker and install on my workstation ubuntu 16.04.3 the latest docker version successfully.

但是当我现在尝试执行以下操作时:docker运行hello-world无法在本地找到图像"hello-world:latest"拉仓库docker.io/library/hello-worlddocker:提取图像时出错:获取 https://index.docker.io/v1/repositories/library/hello-world/images :x509:未知授权机构签署的证书.请参阅"docker run --help".

But when I now try to do following: docker run hello-world Unable to find image 'hello-world:latest' locally Pulling repository docker.io/library/hello-world docker: Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: x509: certificate signed by unknown authority. See 'docker run --help'.

我遇到了x509错误消息的问题.

I got the issue with the x509 error message.

我们公司有防火墙,我已经将公司根证书复制到/etc/docker/certs.d/我们还使用Internet代理与Internet进行通信,因此我配置了以systemd开头的守护程序,为http代理和https代理设置了环境,但仍然收到相同的x509错误消息.

We have in our company a firewall and I have already copied our company root certificate to /etc/docker/certs.d/ We also use a internet proxy for communication to the internet, so i configured the daemon who starts with systemd, I set the environment for the http proxy and https proxy but still get the same x509 error message.

有人可以帮我吗?

谢谢

$ docker -vDocker版本1.12.6,内部版本78d1802

$ docker -v Docker version 1.12.6, build 78d1802

推荐答案

我找到了带有update-ca-certificates的解决方案:将根证书文件复制到/usr/local/share/ca-certificates并运行update-ca-certificates manpages.ubuntu.com/manpages/xenial/man8/...

I found a solution with the update-ca-certificates: copy the root cert file into /usr/local/share/ca-certificates and run update-ca-certificates manpages.ubuntu.com/manpages/xenial/man8/…

这篇关于未知权限签署的docker x509证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆