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
相关推荐
代码改变世界ctw4 分钟前
Linux内核设计与实现 - 第14章 块I/O层
linux·运维·服务器
勇哥的编程江湖1 小时前
starrocks官网docker部署mysql无法连接
运维·docker·容器
van叶~2 小时前
Linux网络-------1.socket编程基础---(TCP-socket)
linux·网络·tcp/ip
风吹落叶花飘荡2 小时前
Ubuntu系统 系统盘和数据盘扩容具体操作
linux·运维·ubuntu
zoulingzhi_yjs3 小时前
haproxy配置详解
linux·云原生
bingbingyihao3 小时前
Node.js 模拟 Linux 环境
linux·node.js
大神的风范3 小时前
从0开始学linux韦东山教程Linux驱动入门实验班(5)
linux
小码过河.3 小时前
CentOS 搭建 Docker 私有镜像仓库
linux·docker·centos
贾斯汀玛尔斯5 小时前
ubuntu/centos系统ping 不通域名的解决方案
linux·ubuntu·centos
呆瑜nuage6 小时前
Linux的工具
linux