“docker pull ubuntu”不行 [英] "docker pull ubuntu " doesn't work
问题描述
我正在尝试跟踪停靠点你好世界的例子当我输入以下命令,我的密码没有任何反应:
I'm trying to follow the docker hello world example but when I enter the following command and my password nothing happens:
$ sudo docker pull ubuntu
[sudo] password for mike:
它几乎保持了这样的年龄。我已经尝试过两个不同的Ubuntu 12.04桌面,它总是一样的。
It literally stays like that for ages. I've tried on two different Ubuntu 12.04 desktops and it's always the same.
更新:实际发生的是一个新窗口被打开是非常小的,当我扩大它的窗口没有内容。如果我关闭窗口,我会收到消息:
UPDATE: What is actually going on is that a new window is opened which is extremely small, when I expand it the window has no content. if I close the window I get the message:
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
after 32 requests (32 known processed) with 0 events remaining.
更新2 :原来这不是一个真正的问题,我正在运行的程序其实是不是docker 。 - 在Ubuntu上安装一个警告字, sudo apt-get install docker
安装另一个名为docker的程序,而不是虚拟化工具。
UPDATE 2: Turns out this isn't a real problem, the program I was running was in fact not docker. - A word of warning, sudo apt-get install docker
on Ubuntu installs another program called docker, not the virtualization tool.
推荐答案
在 debian 和 ubuntu 包以及可执行文件/命令被称为 docker.io
。
On debian and ubuntu the package as well as the executable/command is called docker.io
.
您应该更好地运行
$ sudo docker.io pull ubuntu
Btw .: docker
是(也)KDE3 / GNOME2 docklet应用程序的系统托盘。
Btw.: docker
is (also) a "system tray for KDE3/GNOME2 docklet applications".
这篇关于“docker pull ubuntu”不行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!