admin/ March 14, 2016/ Docker, Linux/ 0 comments

To check your current kernel version, open a terminal and use uname -r to display your kernel version:

$ uname -r 
3.11.0-15-generic

Install the recommended package.

$ sudo apt-get install linux-image-extra-$(uname -r)

Update your APT package index.

$ sudo apt-get update

Install Docker.

$ sudo apt-get install docker-engine

Start the docker daemon.

$ sudo service docker start

Verify docker is installed correctly.

$ sudo docker run hello-world

For 15.04 and up, to configure the docker daemon to start on boot, run

$ sudo systemctl enable docker

Leave a Reply