鲲鹏服务器+KylinOs V10 使用docker 23.0.1 构建镜像失败,Debian为base镜像,apt-get update失败
收藏回复举报
鲲鹏服务器+KylinOs V10 使用docker 23.0.1 构建镜像失败,Debian为base镜像,apt-get update失败
t('forum.solved') 已解决
新人帖
发表于2023-03-03 14:21:11
0 查看
build -f dockerfile 报错,gpg-check失败
W: GPG error: http://deb.debian.org/debian stable InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable_InRelease 

E: The repository 'http://deb.debian.org/debian stable InRelease' is not signed. 

W: GPG error: http://deb.debian.org/debian-security stable-security InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stable-security_InRelease 

E: The repository 'http://deb.debian.org/debian-security stable-security InRelease' is not signed. 

W: GPG error: http://deb.debian.org/debian stable-updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/partial/deb.debian.org_debian_dists_stable-updates_InRelease 

E: The repository 'http://deb.debian.org/debian stable-updates InRelease' is not signed.

但是直接run启动一个容器,在容器中执行正常

cke_3323.png

本帖最后由 匿名用户2023/11/16 10:24:13 编辑

我要发帖子