Ubuntu Docker图像打破了盒子?

Ass*_*vie 5 ubuntu docker boot2docker

以下工作应该开箱即用吗?

$ docker pull ubuntu:14.04
$ docker run -ti ubuntu:14.04
root@8f0dcfdae9b6:/# apt-get update
Run Code Online (Sandbox Code Playgroud)

可悲的是,我得到:

...
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.
Run Code Online (Sandbox Code Playgroud)

所以我开始按照这里的建议手动添加GPG键,但是看起来很疯狂的官方Ubuntu图像会如此突破.

这是Docker的事情,还是你认为Ubuntu的档案中存在某些问题?

[编辑]

尝试了Ubuntu 14.04.2.

[编辑2]

仅在Boot2docker/OS X上发生.在Ubuntu(主机系统)上,这不会重新创建.我已经尝试升级boot2docker(到1.8)并从一个新的ISO映像开始,但这没有帮助.

Mar*_*hes 2

我相信这是旧版 Ubuntu 的普遍问题,而不仅限于 Docker。

尝试ubuntu:14.04.2


归档时间:

查看次数:

329 次

最近记录:

9 年,11 月 前