Ubuntu14.04安装完全参考官方文档:https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
$ sudo apt-get update
//安装https支持
$ sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
//为了确认所下载软件包的合法性,需要添加软件源的 GPG 密钥。
$ curl -fsSL https