如何在 Ubuntu 17.10 Artful Aardvark 上安装 Docker
How to install Docker on Ubuntu 17.10 Artful Aardvark
我按照有关如何 install Docker CE for Ubuntu 的说明进行了操作。在我设置存储库后,然后 运行 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 密钥已添加到我的回购 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
问题已解决,现在安装 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) 的发行文件。
Ubuntu edge
版本现在支持 17.10,因此您可以使用
deb [arch=amd64] https://download.docker.com/linux/ubuntu artful edge
还有。
我按照有关如何 install Docker CE for Ubuntu 的说明进行了操作。在我设置存储库后,然后 运行 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 密钥已添加到我的回购 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
问题已解决,现在安装 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) 的发行文件。
Ubuntu edge
版本现在支持 17.10,因此您可以使用
deb [arch=amd64] https://download.docker.com/linux/ubuntu artful edge
还有。