Skip to content

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

@jingjingxyk

Description

@jingjingxyk

问题描述 / 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions