How to install Docker on Ubuntu 17.10 Artful Aardvark
Solution
Open your 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
in both lines. After the change, they should look like:
deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable
Problem fixed, now install Docker CE with:
sudo apt-get update && sudo apt-get install docker-ce
Explanation
Th problem is that as of this writing, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker. Therefore, you have to use the release file for Ubuntu 17.04 (zesty) instead.
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
as well.