O'Reilly logo

Build Your Own PaaS with Docker by Oskar Hane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Docker on Ubuntu Trusty 14.04 LTS

The OS, flavor and version, where it's easiest to install Docker is in Ubuntu Trusty 14.04 LTS. This is a pretty quick task since we can use the built-in package manager apt-get.

Note

Note that Docker is called docker.io here and just docker on other platforms since Ubuntu (and Debian) already has a package named docker.

First we open a terminal and execute these commands one by one:

sudo apt-get update
sudo apt-get install docker.io
source /etc/bash_completion.d/docker.io

Here, we first update the lists of the packet manager apt-get in order to get information about all the packages, versions, and dependencies that are available. The next line actually installs Docker, and after that, we enable Ubuntu to tab-complete ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required