Previously, the Linux kernel was installed in a low version of 2.x, but many features are not available, this time is installed on Ubuntu 16.04, recording the installation process for easy follow-up review.
First, prepare before installation:
1. Install package, allow apt
command HTTPS to access Docker source.
$ sudo apt-get install Apt-transport-https ca-certificates Curl Software-properties-common
2. Add Docker's official GPG
$ curl-fssl https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add-
3. Add the Docker source to the/etc/apt/sources.list
$ sudo add-apt-repository "Deb [arch=amd64] https://download.docker.com/linux/ubuntu $ (lsb_release -CS) Stable "
Second, install Docker
$ sudo apt-get update
$ sudo apt-get install Docker-ce
Third, image acceleration
$curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://24051e92.m.daocloud.io
Four, restart Docker:
$ systemctl Restart Docker.service
Five, test:
At this point, Docker has been installed successfully.
Ubuntu 1604 installation Docker-ce record