Docker installation on Ubuntu 12.04 LTS

Docker requires a 64-bit installation regardless of your Ubuntu version. Additionally, your kernel must be 3.10 at minimum.

To check current kernel version:

Create /etc/apt/sources.list.d/docker.list and add below line:

For Ubuntu Trusty, Vivid, and Wily, it’s recommended to install the linux-image-extra kernel package. The linux-image-extra package allows you use the aufs storage driver.

Install docker:


To avoid : Cannot connect to the Docker daemon. Is the docker daemon running on this host?

Log out and log in back. This ensures your user is running with the correct permissions.


Additional links: