无法安装 docker:
sudo sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
错误日志:
GPG error: https://get.docker.com docker Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8576A8BA88D21E9
最佳答案
入门页面似乎已更改。
2017 年 8 月
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
2019 年 8 月
安装页面的链接又变了
关于docker - 无法验证签名,因为安装 docker 时出现公钥不可用错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32530192/