实现通过docker-compose up 同时启动多个服务
2、安装 Compose
地址:https://docs.docker.com/compose/install/
1、下载Docker-Compose
#安装在Linux系统中
csudo curl -L “https://github.com/docker/compose/releases/download/1.29.2/docker-compose- ( u n a m e − s ) − (uname -s)- (uname−s)−(uname -m)” -o /usr/local/bin/docker-compose
#安装太慢的 把github源换成get.daocloud.io
curl -L https://get.daocloud.io/docker/compose/releases/download/1.29.2/docker-compose-uname -s
-uname -m
-o /usr/local/bin/docker-compose
去到安装目录检查:下载成功&