Skip to content
Advertisement

Docker install on Linux Mint 19 Tara [closed]

I tried to install docker on Linux Details as below –

JavaScript

Referenced link: https://docs.docker.com/install/linux/docker-ce/ubuntu/

Steps:

JavaScript

For step 6 I checked lsb_release -cs

JavaScript

I see issue at step 7.

JavaScript

As an effect for step 8 I see below error.

JavaScript

Looks like there is some issue with linux mint Tara or Ubuntu Bionic with Docker.

Can someone tell me how to resolve the issue and install docker?

Advertisement

Answer

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:

JavaScript

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.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement