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
相关推荐
深蓝电商API几秒前
爬虫+Docker:让你的爬虫项目一键部署、可移植
爬虫·docker·容器
Wins_calculator3 分钟前
Fixed VLC snap on Ubuntu
linux·ubuntu·vlc·snap
偶尔贪玩的骑士10 分钟前
Kioptrix Level 1渗透测试
linux·开发语言·网络安全·php
楠木s22 分钟前
ctfshow pwn44
linux·服务器·网络·安全·网络攻击模型·二进制
ajassi200028 分钟前
开源 Linux 服务器与中间件(七)数据库--MySQL
linux·服务器·数据库·ubuntu·开源
---学无止境---35 分钟前
Linux中页表缓存初始化pgtable_cache_init函数的实现
linux
风为你而吹37 分钟前
【玩泰山派】8、泰山派安装armbian,玩armbian
linux
qiuiuiu41344 分钟前
正点原子RK3568学习日志12-注册字符设备
linux·开发语言·单片机·学习·ubuntu
ZHE|张恒1 小时前
使用 Docker 容器测试端口开放性
运维·docker·容器
christine-rr1 小时前
linux常用命令——其他
linux·服务器·网络·数据库·redis·ubuntu