Does Ubuntu 14.04 have Docker already installed, how do I find out if I have it installed or not?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
We already created a droplet on which we host our site. Can we still create and apply a Docker on this droplet? Basically we want to install PEPS on our system, but needed to install Docker first, any tip on easier way to install Docker on the system?
Ubuntu 14.04 does not come with Docker pre-installed by default. There is a Docker “one-click” image available on the “Applications” tab of the create page:

To check if it is installed, you can simply run the command. If you need to do this programmatically, you can check the exit code by running echo $?. If it’s installed, you’ll see:
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0
If it’s not installed, you’ll see:
$ docker -v
The program 'docker' is currently not installed. You can install it by typing:
apt-get install docker
$ echo $?
127
The exit code 0 means that the command was successful, and the code 127 mean “command not found.”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.