linux - 为什么 docker 中的拉取过程是这样的?

标签 linux ubuntu docker firewall agent

我只想从 docker 的存储库中拉取 ubuntu 镜像:

pete@pete-Aspire-4750:~$ sudo docker run ubuntu:14.04 /bin/echo "hello world"    
Unable to find image 'ubuntu:14.04' locally
ubuntu:14.04: The image you are pulling has been verified
53f858aaaf03: Downloading 57.31 MB/197.2 MB 1h57m42s
837339b91538: Download complete
615c102e2290: Download complete
b39b81afc8ca: Download complete     
511136ea3c5a: Already exists 

然后什么都没发生!是不是因为我在中国,所以看不到长城后面的照片? 还是别的?

最佳答案

输出表明下载完成。您可以通过发出命令 sudo docker images 进行检查。它将列出下载的图像,如下所示。

REPOSITORY       TAG      IMAGE ID      CREATED      VIRTUAL SIZE   
ubuntu           13.10    5e019ab7bf6d  4 weeks ago  180 MB

关于linux - 为什么 docker 中的拉取过程是这样的?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28008464/

相关文章:

c++ - 选择整数类型的大小有哪些好的准则?

linux - 如何在 Grub 中添加菜单项以在命令行中启动 Ubuntu

docker - 如何从外部浏览器访问 minikube 仪表板,部署在 gcloud 计算引擎上

pio 训练阶段的 java.lang.StackOverflowError

python - 重新启动后的Django docker-compose需要再次迁移

c - 将文件封装在未压缩的 ZIP 文件中的简单库?

c - 为什么分配大量char*时内存大小会翻倍?

linux - 每 1 毫秒从 PMU 收集特定进程的数据

c -/lib/x86_64-linux-gnu/libthread_db.so.1 文件不存在

ruby - "in ` 需要 ': cannot load such file -- iconv (LoadError)"