#Docker:扩展
###安装docker-compose
```
curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
###使用加速器下载镜像(linux环境)
>https://www.daocloud.io/mirror#accelerator-doc
```
curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://c0b3b6a9.m.daocloud.io
// 重启docker配置才能生效
systemctl daemon-reload
systemctl restart docker && systemctl enable docker
```