镜像:registry.cn-hangzhou.aliyuncs.com/9527test/test:latest
mac 下写个测试 file
FROM xx
RUN apt-get update
没问题。
同样的镜像,同样的 dockerfile ,linux 上就有问题。
Get:1 http://mirrors.ustc.edu.cn/ubuntu jammy InRelease [270 kB]
Get:2 http://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease [114 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu jammy-backports InRelease [99.8 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu jammy-security InRelease [110 kB]
Get:5 https://launchpad.proxy.ustclug.org/ondrej/php/ubuntu jammy InRelease [23.9 kB]
Err:1 http://mirrors.ustc.edu.cn/ubuntu jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:2 http://mirrors.ustc.edu.cn/ubuntu jammy-updates InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
macdocker Docker version 20.10.17 linuxdocker Docker version 20.10.2
1
julyclyde 2022 年 10 月 18 日
那就很奇怪了
难道 docker 把新版本的 apt key 注入到镜像内了?这可是入侵行为啊 |
4
dzdh OP |