Docker Community Forums

Share and learn in the Docker community.

Unable to Install Docker


(Meisam) #1

I’m a novice to Linux and have never used Docker before. I need to install Docker on Ubuntu as prerequisite for another software that I need. So I tried to follow the documentation available at https://docs.docker.com/installation/ubuntulinux/

I know that I have 64-bit Ubuntu 12.04.5 LTS (Precise) and that my kernel version is 3.13.0-46-generic, and that my user has sudo privileges.

Given the above, as per the installation documentation page I should be able to jump straight to the “Installation” section. I verified that I do have curl (under /usr/bin/curl) but when I tried running the command curl -sSL https://get.docker.com/ | sh instead of Docker starting to install, I get the following usage printed in my terminal window:

usage: dzdo -K | -k | -V
usage: dzdo -v [-AknS] [-p prompt]
usage: dzdo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
[-g groupname|#gid] [command]
usage: dzdo [-AbHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] []
usage: dzdo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
name|#uid] file …
usage: dzdo -h [user@] [-W,ssh-option]
usage: dzdo --help

  • sudo -E sh -c 'sleep 3; apt-get update’
    usage: dzdo -K | -k | -V
    usage: dzdo -v [-AknS] [-p prompt]
    usage: dzdo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [command]
    usage: dzdo [-AbHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] []
    usage: dzdo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u username|#uid] file …
    usage: dzdo -h [user@] [-W,ssh-option]
    usage: dzdo --help

I also tried wget -qO- https://get.docker.com/ | sh but nothing happens when I run this command.

I have no idea what I need to do to install Docker. Anyone knows what is the issue here?


(Ralph Kincade) #2

“dzdo” is and enhanced sudo that can use LDAP for authentication , are you
sure that you have the rights to do what you want ?

try sudo with the commands you attempted before ,if that does not work see
if you can install ANYTHING or wget ANYTHING at all


(Meisam) #3

I tried sudo with those commands. It prompted me to enter my password but then the same usage statements were printed again.

I also tried wget http://www.csscript.net/help/Hello_World.html and it did download the html file.

I also am able to install packages using sudo apt-get dist-upgrade command. Is this what you meant by saying ‘is if you can install anything’ ? (sorry, I’m completely new to linux)


(Meisam) #4

By the way, if I only do curl -sSL https://get.docker.com/ without | sh at the end, then I can see the content of the file printed in my terminal window (same content as when you browse to https://get.docker.com/ in a web browser).

I get the dzdo printouts if I append | sh to the end of the curl command (whether I run curl with or without sudo)


(Ralph Kincade) #5

I am really not sure what is going on , was this ubuntu used prior to this
docker install? ,can you create a NEW 14.04 instance ?


(Ralph Kincade) #6

is there another ID you can use , perhaps someone who is a sys admin???


(Meisam) #7

I was able to fix my issue. If I run sudo -s and then the curl command, everything works and I am able to install Docker. Yay!


(Ralph Kincade) #8

I am glad you got it fixed , how did you figure it out?


(Meisam) #9

I was looking at man pages for sudo and saw the -s option. It seemed relevant to what I wanted to do so I tried it and things started to work.