Docker install on Linux Mint 19 Tara

When installing a Docker on Linux Mint you can experience an error saying that Docker doesn’t have a release file for your distribution.

E: The repository ' tara Release' does not have a Release file.

It’s happen because the Docker repository at doesn’t know about Linux Mint’s code name tara.

To solve this issue you have to provide Ubuntu code name for which the Docker is providing a repository. And this replacement will work because Linux Mint is built on top of Ubuntu.

So, to add the Docker repository to your Mint’s distribution you have to use:

sudo add-apt-repository "deb [arch=amd64] $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"

In this step, we are simply replacing the Linux Mint codename (returned by lsb_release -cs) with the Ubuntu base codename (returned by . /etc/os-release; echo "$UBUNTU_CODENAME").

Leave a Reply