命令安装docker
直接从ubuntu仓库安装,打开终端,不要奇怪我的界面,我只是通过ssh操控ubuntu
sudo apt install docker.io
image.png
sudo systemctl start docker sudo systemctl enable docker
image.png
免sudo配置
sudo addgroup --system docker sudo adduser $USER docker newgrp docker
image.png
作者:youseewhat
链接:https://www.jianshu.com/p/3ff8913a5934