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
相关推荐
未济14 小时前
linux 配置环境变量
linux
傲世仙尊14 小时前
目录即文件-Ext文件系统收尾篇
linux·c语言
分布式存储与RustFS15 小时前
MinIO 官方 Docker 镜像被移除:依赖它的项目该怎么办
docker·云原生·devops·对象存储·minio·分布式存储
_艾伦 耶格尔.16 小时前
进程间通信
linux
Liuqy-0516 小时前
Linux IO编程——静态库、动态库
linux
彧azz17 小时前
Linux 环境下 Redis 学习总结:数据类型、持久化、锁、事务、主从与缓存问题
linux·redis·笔记·学习·面试
玉&心17 小时前
通过Arthas在线诊断K8S中的内存及JVM等使用情况
docker·k8s·arthas
xing-xing17 小时前
Docker容器中Nginx站点根目录网页配置访问
nginx·docker
-梅17 小时前
linux(8) 软硬链接
linux·运维·服务器
guo_wen_qiang17 小时前
上传本地镜像到harbor中
docker·容器·持续部署