Docker installation tutorial

This tutorial shows the installation process of Docker on Linux.

Installing Docker on Linux

The simplest way to install Docker on Linux is by means of the installation script available on https://get.docker.com which contains some platforms checks to determine what Linux operating system you are running.

$ curl -sSL https://get.docker.com/ | sh

The alternative to curl is wget:

$ sudo wget -qO- https://get.docker.io/ | sh

Minimal requirements: Please note that the 3.10.x kernel is the minimum requirement for Docker. Besides this, Docker also requires that you are running a 64 bit machine.

Once installed you can check the Docker version by passing the version attribute to the docker command;

$ docker version
Client:
 Version:      1.8.0
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f5bae0a
 Built:        Tue Jun 23 17:56:00 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.8.0
 API version:  1.20
 Go version:   go1.4.2
 Git commit:   f5bae0a
 Built:        Tue Jun 23 17:56:00 UTC 2015
 OS/Arch:      linux/amd64