Linux Mint 19.1 安装 Docker 过程笔记

Linux Mint 19.1 安装 Docker 过程笔记

参考了很多教程,可能有很多教程已经过时。

综合记录一下。

首先修改一下系统的源,使用国内的源。

然后安装 docker sudo apt install docker.io

将当前用户加入 docker 用户组

sudo usermod -aG docker ${USER}

退出用户,重新登录。(关键)

测试

docker run hello-world

中间出现很多插曲,什么换阿里源,什么使用 docker-ce 安装,等等。

原文地址:https://www.cnblogs.com/F4NNIU/p/10928062.html