install docker linux

Shell
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
 sudo apt-get install -y xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
 sudo apt-get install -y linux-image-generic-lts-trusty linux-headers-generic-lts-trusty

Source

Also in Shell: