Just got a fresh Linux mint 19.2 installed, i needed docker so i went to the docker doc and followed the process.
https://docs.docker.com/install/linux/docker-ce/ubuntu/
everything went well until step 4 of the repository set up.
on the 4 step it says "Malformed input, repository not added."
I've changed "$(lsb_release -cs)" to "tina" and "tara" still doesn't work.
the 4th step to set up the repository:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Docker can be installed from the official repository of Linux Mint using the Docker snap and the . deb package of Docker.
To install Docker, we need to follow the steps given below. Step 1 − Before installing Docker, you first have to ensure that you have the right Linux kernel version running. Docker is only designed to run on Linux kernel version 3.8 and higher.
sudo nano /etc/apt/sources.list.d/additional-repositories.list
add the following line in the file
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
then,
sudo apt update
you know the rest of the steps. Good luck!
Leo's answer is very widely accepted but for some reason his solution doesn't work in my machine which is run by Linux Mint 19.3 Chinamon. So after doing some research I came out with this solution.
First Run this
echo -e "\ndeb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | sudo tee -a /etc/apt/sources.list
and then update the package index.
sudo apt-get update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With