Official support for installing the Ubuntu version of Docker:
Ubuntu trusty 14.04 (LTS) (64-bit)
Ubuntu Precise 12.04 (LTS) (64-bit)
Ubuntu raring 16.04 (64-bit)
Ubuntu Saucy 13.10 (64-bit)
1. Check if Ubuntu version number is satisfied:
2. Check device mapper: As a storage driver for Docker
Or check for device-mapper entries in the/proc/devices file:
3. Check if Curl package is installed: which curl or if curl is not installed, after updating apt source, install Curl Package: $ sudo apt-get update $ sudo apt-get install curl< /c2>
4, Docker has the Deb format of the installation package, installation is very easy.
First add the key to the Docker library:sudo apt-key adv--keyserver keyserver.ubuntu.com--recv-keys 36a1d7869245c8950f966e92d8576a8ba88d21e9
Then add the Docker library to the APT source list and update and install the Lxc-docker package:
sudo sh-c "Echo Deb Http://get.docker.io/ubuntu docker main>/etc/apt/sources.list.d/docker.list" sudo apt-get Updatesudo Apt-get Install Lxc-docker
5. See if the installation was successful: sudo docker info
"1" Ubuntu installation Docker