[root@localhost mnt]# cat /etc/docker/daemon.json
{ "registry-mirrors": ["https://3laho3y3.mirror.aliyuncs.com"] }
[root@localhost mnt]# systemctl restart docker
最简便的安装docker-compose的方法(包含优化docker软件包源的方法)
yum -y install epel-release yum -y install docker-io vim /etc/docker/daemon.json systemctl restart docker yum -y install python-pip pip install docker-compose