安装docker时出现报错,curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.
$ sudo curl -sSL https://get.docker.com/ | shcurl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.新装的系统,装docker的时候出现这个报错解决方案是:瞅下本机dns配置,/etc/resolv.conf
·
$ sudo curl -sSL https://get.docker.com/ | sh
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.
新装的系统,装docker的时候出现这个报错
解决方案是:
瞅下本机dns配置,/etc/resolv.conf
sudo vim /etc/resolv.conf
添加阿里的dns
nameserver 223.5.5.5
nameserver 223.6.6.6
就可以了
更多推荐
已为社区贡献1条内容
所有评论(0)