根据官方文档安装,但是往https://apt.dockerproject.org/repo下的时候会很卡
https://docs.docker.com/engine/installation/linux/ubuntulinux/
http://blog.csdn.net/mickjoust/article/details/51578629
也可以下载tar包直接解压
http://get.daocloud.io/#install-docker
# To install,run the following commands as root: curl -fsSLO https://get.daocloud.io/docker/builds/Linux/x86_64/docker-1.12.6.tgz && tar --strip-components=1 -xvzf docker-1.12.6.tgz -C /usr/local/bin # Then start docker in daemon mode: /usr/local/bin/dockerd