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
相关推荐
Mapleay6 分钟前
创建 Linux SDK包源码阅读环境
linux·运维·服务器
hong78177 分钟前
阿里coding plan qwen3.6-plus 不支持图片上下文长度只有200K,问题出在哪?
linux·运维·数据库
rebekk8 分钟前
claude工作区与git仓库的关系
linux·git·python
FelixBitSoul18 分钟前
Docker 镜像 SIZE、DISK USAGE、Layer、Prune、.dockerignore 全面解析:pull 到底下载多少?
docker
modelmd21 分钟前
Docker 重命名数据卷
运维·docker·容器
Skilce22 分钟前
K8S部署
linux·运维·服务器·容器·kubernetes
重生的黑客35 分钟前
Linux :vim 深入与 gcc 编译详解
linux·运维·vim
屈九歌35 分钟前
【Linux】V4L2框架分析《四》media_controller
linux
小成2023032026537 分钟前
Linux高级03
linux·开发语言
gsls20080839 分钟前
ubuntu安装HermesAgent接入Nous平台小米大模型和微信通道配置
ubuntu·hermesagent·小米大模型