curl -fsSL https://get.docker.com | bash -s docker
systemctl start docker
systemctl enable docker
sudo vim /etc/docker/daemon.json
{
"registry-mirrors": [
"https://dockerproxy.com",
"https://hub-mirror.c.163.com",
"https://mirror.baidubce.com",
"https://ccr.ccs.tencentyun.com"
]
}
systemctl restart docker
docker info