安装
- 下载docker-compose
sudo curl -L “https://github.com/docker/compose/releases/download/1.23.2/docker-compose-
(
u
n
a
m
e
−
s
)
−
(uname -s)-
(uname−s)−(uname -m)” -o /usr/local/bin/docker-compose
2. 给docker-compose增加执行权
sudo chmod +x /usr/local/bin/docker-compose
搞定,安装完成
查看版本信息
docker-compose version
输出
来自:https://segmentfault.com/a/1190000018423539