Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux版 docker-ce 仓库缺少 GPG 公钥 #477

Closed
jingjingxyk opened this issue Oct 13, 2024 · 1 comment
Closed

linux版 docker-ce 仓库缺少 GPG 公钥 #477

jingjingxyk opened this issue Oct 13, 2024 · 1 comment

Comments

@jingjingxyk
Copy link

jingjingxyk commented Oct 13, 2024

问题描述 / Bug description

发现报错:
image

验证脚本

# https://github.com/docker/docker-install.git
# test -f get-docker.sh || curl -fsSL https://get.docker.com -o get-docker.sh

test -f get-docker.sh || curl -fsSLo get-docker.sh https://github.com/docker/docker-install/blob/master/install.sh?raw=true
# 或者
test -f get-docker.sh || curl -fsSLo get-docker.sh https://gitee.com/jingjingxyk/docker-install/raw/master/install.sh



sed -i.backup "s@https://mirrors.aliyun.com/docker-ce@https://mirrors.ustc.edu.cn/docker-ce@g; s@Aliyun)@ustc)@g " get-docker.sh

bash get-docker.sh --mirror ustc


检查结果:

镜像地址 有无 GPG 公钥
https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/debian/gpg
https://mirrors.ustc.edu.cn/docker-ce/linux/debian/gpg
https://mirrors.aliyun.com/docker-ce/linux/debian/gpg
taoky added a commit to taoky/tsumugu that referenced this issue Oct 13, 2024
taoky added a commit to taoky/tsumugu that referenced this issue Oct 13, 2024
@taoky
Copy link
Member

taoky commented Oct 13, 2024

相关问题已修复。

另:需要注意的是,从镜像站获取验证软件包完整性的公钥是存在安全性风险的(这也是我们所有的帮助文档中都只有从官方上游获取公钥的步骤的原因)。有关官方安装脚本的问题,详情参见上游 PR 的讨论 docker/docker-install#444

@taoky taoky closed this as completed Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants