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

解决方案

javascript 复制代码
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8
相关推荐
江畔柳前堤3 分钟前
第15章:docker故障排查与面试题
大数据·运维·git·elasticsearch·docker·容器·eureka
2023自学中27 分钟前
imx6ull 开发板, mame 模拟器,运行游戏 测试
linux·游戏·嵌入式·开发板
江畔柳前堤33 分钟前
第07章:Docker 网络模型
运维·网络·git·elasticsearch·docker·容器·架构
是个西兰花37 分钟前
Linux:进程信号
linux·运维·服务器
CS创新实验室1 小时前
从“业余爱好”到数字基石:Linux 发展史及带给技术人的成长启示
linux·运维·服务器
江畔柳前堤1 小时前
第17章:Docker 大厂面试题精选(腾讯/阿里/字节/美团)
运维·网络·spring cloud·docker·容器·eureka
Biomamba生信基地1 小时前
FindNeighbors()函数报错object ‘CsparseMatrix_validate’ not found
linux·运维·服务器·生物信息学
辉的技术笔记4 小时前
Dify 卡在入口?Gunicorn + Nginx 的正确打开方式
docker
辉的技术笔记1 天前
Dify 自部署为什么跑不动?6 层瓶颈诊断法教你定位
docker
orion572 天前
Missing Semester Class1:course overview and introduction of shell
linux