安装 docker 太简单了

sudo wget -qO- https://get.docker.com | sh`
sudo usermod -aG docker your-user`

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://xxxxx.mirror.aliyuncs.com"]  # 填上你的阿里云镜像加速地址
}
EOF

sudo systemctl daemon-reload
sudo systemctl restart docker

你可能感兴趣的:(安装 docker 太简单了)