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:
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)
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)