curl -fsSL https://get.docker.com | bash -s docker —mirror Aliyun
sudo apt install docker-compose
镜像
/etc/docker/daemon.json
{"registry-mirrors": ["https://registry.cn-hangzhou.aliyuncs.com","https://mirror.ccs.tencentyun.com","http://hub-mirror.c.163.com"]}
sudo systemctl daemon-reload sudo systemctl restart docker
