Docker笔记7-Docker-compose
1、安装docker-compose
a1、官方地址:
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
a2、国内地址
curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
b、授权
sudo chmod +x /usr/local/bin/docker-compose