我正在尝试从那里安装 docker 说明: https ://linuxconfig.org/how-to-install-docker-on-ubuntu-18-04-bionic-beaver
我正在运行命令:
$ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
并得到:
curl: (77) error setting certificate verify locations:
CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
gpg: no valid OpenPGP data found.
我运行了这个程序,它修复了我的证书存储:
$ sudo update-ca-certificates
我建议先运行以下命令以先安装证书 -
我已经在下面的教程中记录了安装 docker-ce 的步骤。希望这会有所帮助 -
https://crunchytechbytz.wordpress.com/2018/06/25/how-to-install-docker-in-ubuntu-18-04/