这边记录ubuntu安装过程,首先是官网文档
~# apt-cache policy docker-engine docker-engine: Installed: 1.8.3-0~precise Candidate: 1.8.3-0~wily Version table: 1.8.3-0~wily 0 500 https://apt.dockerproject.org/repo/ ubuntu-wily/main amd64 Packages 1.8.3-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.8.3-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages *** 1.8.3-0~precise 0 500 https://apt.dockerproject.org/repo/ ubuntu-precise/main amd64 Packages 100 /var/lib/dpkg/status 1.8.2-0~wily 0 500 https://apt.dockerproject.org/repo/ ubuntu-wily/main amd64 Packages 1.8.2-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.8.2-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.8.2-0~precise 0 500 https://apt.dockerproject.org/repo/ ubuntu-precise/main amd64 Packages 1.8.1-0~wily 0 500 https://apt.dockerproject.org/repo/ ubuntu-wily/main amd64 Packages 1.8.1-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.8.1-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.8.1-0~precise 0 500 https://apt.dockerproject.org/repo/ ubuntu-precise/main amd64 Packages 1.8.0-0~wily 0 500 https://apt.dockerproject.org/repo/ ubuntu-wily/main amd64 Packages 1.8.0-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.8.0-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.8.0-0~precise 0 500 https://apt.dockerproject.org/repo/ ubuntu-precise/main amd64 Packages 1.7.1-0~wily 0 500 https://apt.dockerproject.org/repo/ ubuntu-wily/main amd64 Packages 1.7.1-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.7.1-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages 1.7.1-0~precise 0 500 https://apt.dockerproject.org/repo/ ubuntu-precise/main amd64 Packages 1.7.0-0~vivid 0 500 https://apt.dockerproject.org/repo/ ubuntu-vivid/main amd64 Packages 1.7.0-0~trusty 0 500 https://apt.dockerproject.org/repo/ ubuntu-trusty/main amd64 Packages
最后选定特定发行版的一个docker-engine版本进行安装即可 apt-get install -y docker-engine=1.8.1-0~precise (责任编辑:IT) |