Docker installation on Linux Mint 19.2 doesn't work

 ̄綄美尐妖づ 提交于 2019-12-09 15:12:27

问题


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"


回答1:


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!



来源:https://stackoverflow.com/questions/57402923/docker-installation-on-linux-mint-19-2-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!