如何在Ubuntu 17.10上安装Docker Artful Aardvark
问题描述:
我按照指示如何install Docker CE for Ubuntu。之后,我设置了仓库,然后跑到sudo apt-get update
,我得到了以下错误:如何在Ubuntu 17.10上安装Docker Artful Aardvark
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(狡猾的土豚)
下泊坞窗GPG键添加到我的回购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
答
解决方案
打开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
问题固定的,现在安装多克尔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)的发布文件。
答
的Ubuntu 17.10现在支持在edge
发布,所以你可以使用
deb [arch=amd64] https://download.docker.com/linux/ubuntu artful edge
为好。