Install Docker on Ubuntu 19.10

Ubuntu 19.10 (Eoan Ermine) was released last month. Normally when a new Linux OS release happens, different software take time to update their releases to support the OS. Some start doing it before the release while some wait until after the OS is released. And since this is not an LTS release, some vendors take their own sweet time to update. Docker is one such package. As of now, there is no official package supporting Docker on Ubuntu 19.10.

So if you try installing it on Ubuntu 19.10 following the official documentation, you will run into an error saying that there is no docker-ce package available. Fortunately, there is a workaround. The latest supported version of Ubuntu by Docker is the 19.04(Disco Dingo).

So to install Docker on Ubuntu 19.10, just follow the following steps.

$ sudo apt update
$ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo apt-key fingerprint 0EBFCD88
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable"
$ sudo apt update
$ sudo apt install docker-ce

What these commands do is update your system with packages required by Docker to install/work first and then grab the Docker repository for Ubuntu 19.04 instead. We use the 19.04 repository to install Docker on Ubuntu 19.10. Apparently, there isn’t much code change required to support 19.10 after 19.04 and Docker’s package for the previous release should work fine on 19.10 as well.

That’s all to this. If you have any questions, shoot in the comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.