我按照如何
@L_404_0@的说明.在我设置存储库,然后运行sudo apt-get update之后,我收到以下错误:
Err:12 https://download.docker.com/linux/ubuntu artful Release 404 Not Found [IP: 2600:9000:201d:5000:3:db06:4200:93a1 443] ... Reading package lists... Done E: The repository 'https://download.docker.com/linux/ubuntu artful Release' does not have a Release file. N: Updating from such a repository can't be done securely,and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
我正在使用Ubuntu 17.10(Artful Aardvark)
以下Docker GPG密钥已添加到我的repo GPG密钥文件/etc/apt/sources.list中
deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable
解
原文链接:https://www.f2er.com/ubuntu/347420.html以admin身份打开sources.list文件.
sudo emacs /etc/apt/sources.list
找到这两行:
deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu artful stable
并且在两行中将artful一词改为zesty.改变后,他们应该看起来像:
deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable
问题已解决,现在安装Docker CE:
sudo apt-get update && sudo apt-get install docker-ce
说明
问题是,在撰写本文时,Ubuntu 17.10 Artful Aardvark的发布文件是not available on Download Docker.因此,您必须使用Ubuntu 17.04(zesty)的发布文件.