UbuntuDocker图像从盒子里被打破了?
以下内容是否应该开箱即用UbuntuDocker图像从盒子里被打破了?,ubuntu,docker,boot2docker,Ubuntu,Docker,Boot2docker,以下内容是否应该开箱即用 $ docker pull ubuntu:14.04 $ docker run -ti ubuntu:14.04 root@8f0dcfdae9b6:/# apt-get update 不幸的是,我得到: ... Get:18 http://archive.ubuntu.com trusty-security/universe amd64 Packages [146 kB] Fetched 2490 kB in 8s (284 kB/s) Reading packag
$ docker pull ubuntu:14.04
$ docker run -ti ubuntu:14.04
root@8f0dcfdae9b6:/# apt-get update
不幸的是,我得到:
...
Get:18 http://archive.ubuntu.com trusty-security/universe amd64 Packages [146 kB]
Fetched 2490 kB in 8s (284 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com trusty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
因此,我开始按照建议手动添加GPG键,但官方Ubuntu图像会如此破格,这似乎有些疯狂
这是Docker事件,还是你认为Ubuntu的档案中有什么东西被破坏了
[编辑]
也尝试了Ubuntu 14.04.2
[编辑2]
仅在Boot2docker/OS X上发生。在Ubuntu(主机系统)上,这不会重新创建。我尝试过升级boot2docker(到1.8)并从一个新的ISO映像开始,但这并没有帮助。我认为这是旧版Ubuntu的一个问题,而且不限于Docker
尝试
ubuntu:14.04.2
最终是唯一有效的方法,在尝试使用apt key adv
手动设置GPG键无效后,会覆盖apt源。列出由生成的条目
要明确的是,我仍然会收到一些未能验证的软件包的警告,但至少在更新之后,我所依赖的软件包的实际安装成功了。所以这不是一个真正的解决方案,更像是一个黑客。投票结束?docker是否被视为非开发?我认为系统管理员不一定比开发人员更了解docker。我认为开发人员操作问题与SO有关。