How to install Docker on Ubuntu 17.10 Artful Aardvark

I followed the instructions on how to install Docker CE for Ubuntu . After I set up the repository and then ran sudo apt-get update , I got the following error:

 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. 

I am using Ubuntu 17.10 (Artful Aardvark)

The following docker GPK keys were added to the GPG key file of the repo /etc/apt/sources.list file

 deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable 
+7
docker ubuntu install apt-get
source share
2 answers

Decision

Open the sources.list file as admin.

 sudo emacs /etc/apt/sources.list 

Find these two lines:

 deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu artful stable 

And change the word artful to zesty on both lines. After the change, they should look like this:

 deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable 

The problem is fixed, now install Docker CE with:

 sudo apt-get update && sudo apt-get install docker-ce 

Explanation

The problem is that at the time of this writing, the release for Ubuntu 17.10 Artful Aardvark is not available in Download Docker . Therefore, you must use the release file for Ubuntu 17.04 (zesty).

+9
source share

Ubuntu 17.10 is now supported in the edge release, so you can use

deb [arch=amd64] https://download.docker.com/linux/ubuntu artful edge

.

+2
source share

All Articles