安装docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
启动docker
systemctl start docker
设置开机自启动
systemctl enable docker
将普通用户添加到docker用户组
groupadd docker
gpasswd -a ashin docker
systemctl restart docker
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
systemctl start docker
systemctl enable docker
groupadd docker
gpasswd -a ashin docker
systemctl restart docker