我正在使用Vagrant和Docker,当我vagrant up我的机器时发生了这个问题,它以前工作得很好:
==> default: Running provisioner: docker...
default: Installing Docker (latest) onto machine...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
curl -sSL https://get.docker.io/gpg | apt-key add -
Stdout from the command:
Stderr from the command:
stdin: is not a tty
curl: (35) Unknown SSL protocol error in connection to get.docker.io:443
gpg: no valid OpenPGP data found.你知道是什么导致了这个问题吗?或者如何修复它?
发布于 2015-04-28 18:31:18
与在curl: (35) Unknown SSL protocol error in connection中一样,您可以尝试使用以下命令对其进行调试:
curl -v https://get.docker.io/gpg在文章中,这是一个访问问题:
我注意到它是用iPV6地址连接的。我不确定我们的PG服务器是否支持iPV6。
查看Curl的手册页,我看到了一个将域名解析为IPv4地址的选项。当我尝试的时候:
curl -v -4 https://my.pg.server它起作用了。
发布于 2015-05-28 19:52:21
我刚刚在使用1.6.5的时候遇到了这个问题,发现它有been fixed in the Vagrant。1.7.2适用于我。奇怪的是,我在一个月前安装了一个新的虚拟机,却没有遇到这个问题,也许Docker已经和SSL来回切换了。
https://stackoverflow.com/questions/29915798
复制相似问题