Linux Mint 19.2上的Docker安装不起作用 [英] Docker installation on Linux Mint 19.2 doesn't work

查看:215
本文介绍了Linux Mint 19.2上的Docker安装不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅仅安装了一个新的Linux Mint 19.2,我需要docker,所以我去了docker doc并遵循了这个过程.

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/

一切顺利,直到建立存储库的第4步.

everything went well until step 4 of the repository set up.

在第4步中显示输入格式错误,未添加存储库."

on the 4 step it says "Malformed input, repository not added."

我已将"$(lsb_release -cs)"更改为"tina",而"tara"仍然不起作用.

I've changed "$(lsb_release -cs)" to "tina" and "tara" still doesn't work.

建立存储库的第四步:

sudo add-apt-repository"deb [arch = amd64] https://download.docker.com /linux/ubuntu $(lsb_release -cs)稳定"

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

推荐答案

sudo nano /etc/apt/sources.list.d/additional-repositories.list

在文件中添加以下行

deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

然后

sudo apt update

您知道其余的步骤.祝你好运!

you know the rest of the steps. Good luck!

这篇关于Linux Mint 19.2上的Docker安装不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆