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 

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
Share this Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.