docker脚本安装:
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
配置镜像加速器:
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://guzonhto.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
标签:systemctl,get,步骤,sudo,sh,https,docker,安装 From: https://www.cnblogs.com/cherishthepresent/p/17113937.html