使用国内 daocloud 一键安装命令:
curl -sSL https://get.daocloud.io/docker | sh
systemctl start docker
替换为国内镜像源:
https://www.cnblogs.com/wufj/p/14418681.html
docker-compose安装:
sudo curl -L "https://github.com/docker/compose/releases/download/1.28.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose