本文主要是介绍ubuntu 安装docker GPG error缺少公钥解决方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
文章目录
- 报错信息
- 解决方案
报错信息
W: GPG error: http://mirrors.aliyun.com/docker-ce/linux/ubuntu focal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
E: The repository ‘http://mirrors.aliyun.com/docker-ce/linux/ubuntu focal InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@VM-16-14-ubuntu:/# sudo apt install docker-ce docker-ce-cli containerd.io
解决方案
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8
这篇关于ubuntu 安装docker GPG error缺少公钥解决方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!