“docker pull ubuntu ” doesn't work
Question
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.
OTHER TIPS
I reckon this is solved if you install docker correctly as described in your other issue Docker opens up a tiny new window that does nothing
That's weird! To decompose between a possible sudo
issue and a docker
issue, can you try the following:
- first, run
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; - then, run
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; - finally, try
sudo docker pull ubuntu
and see what happens.