ubuntu x64 在安装docker-ce的过程当中,参考了官方的安装文档https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
。html
前面执行的比较顺利,但在进行$sudo apt-get install docker-ce
一步操做时,出现了以下错误:linux
Reading package lists... Done Building dependency tree Reading state information... Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'docker-ce' has no installation candidate
提示说docker-ce
包没有找到。docker
手动加入源ubuntu
$ cd /etc/apt/sources.list.d $ sudo vi docker.list
加入如下信息:ui
deb https://download.docker.com/linux/ubuntu zesty edge
更新apt-get
,并进行安装code
$sudo apt update $sudo apt install docker-ce
参考:orm
http://www.cnblogs.com/zhaiji...