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
相关推荐
optimistic_chen4 分钟前
【Docker入门】容器技术
linux·运维·服务器·docker·容器
小明_GLC5 分钟前
理解Docker、镜像Images、容器Container
docker·容器
努力搬砖的咸鱼6 分钟前
用 Docker 部署你的第一个微服务
docker·微服务·云原生·容器
Lueeee.6 分钟前
2.智梯云枢・全维管控广告系统——解决串口卡顿 + 优化稳定性
linux·运维·服务器
南行*7 分钟前
C语言Linux环境编程
linux·c语言·开发语言·网络安全
海清河晏1117 分钟前
Linux进阶篇:HTTP协议
linux·运维·http
June`9 分钟前
IO模型全解析:从阻塞到异步(高并发的reactor模型)
linux·服务器·网络·c++
oMcLin14 分钟前
如何在 CentOS 7.9 上配置并调优 Docker Swarm 集群,确保跨多个节点的高效服务发现与负载均衡?
docker·centos·服务发现
ASS-ASH15 分钟前
快速处理虚拟机磁盘扩容问题
linux·数据库·vmware·虚拟机·磁盘扩容
AI_567815 分钟前
零基础学Linux:21天从“命令小白”到独立部署服务器
linux·服务器·人工智能·github