大陆地区使用docker
#! /bin/bash
mkdir -p /etc/docker/
cat << _EOF_ > /etc/docker/daemon.json
{
"registry-mirrors": [
"https://mirror.ccs.tencentyun.com"
]
}
_EOF_
curl -fsSL https://dl.173371.xyz/https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh --mirror AzureChinaCloud
rm -f get-docker.sh