Docker install on Linux Mint 19 Tara [closed] Docker install on Linux Mint 19 Tara [closed] linux linux

Docker install on Linux Mint 19 Tara [closed]


The Docker repository at https://download.docker.com/linux/ubuntu doesn't know about Linux Mint's code name tara. Use Ubuntu's codename, bionic.

That is, your step 6 above should be this instead:

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"

This works because Linux Mint is built on top of Ubuntu. 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").


Because you already ran the incorrect command (with the Linux Mint codename), you might find that you continue to see warnings with apt-get update. To fix these, you can delete the corresponding file (the one that says tara from /etc/apt/sources.list.d/, or use another GUI or command line tool to do this for you.