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:
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.
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.
我认为如果您按照其他问题中所述正确安装docker,就可以解决此问题。Docker会打开一个小小的新窗口,不执行任何操作
That's weird! To decompose between a possible sudo
issue and a docker
issue, can you try the following:
sudo ls
; this should ask for your password, and if successful, it will just list the current directory; but in the process, it will enable your session to use further sudo commands without typing your passwords again; sudo docker ps
; this shouldn't ask for your password, and if successful, this should output one line of header, and return to the prompt; sudo docker pull ubuntu
and see what happens.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.