ubuntu16.04 安装 docker-compose

下载安装 docker-compose
curl -L https://github.com/docker/compose/releases/download/1.15.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

添加执行权限
chmod +x /usr/local/bin/docker-compose

该下载目录为/usr/local/bin/docker-compose

执行 docker-compose -v,如果命令未被识别。


执行 cp /usr/local/bin/docker-compose /usr/bin
再执行 docker-compose -v

docker-compose version 1.15.0, build e12f3b9






posted on 2017-12-28 15:11  zhaofeng555  阅读(894)  评论(0编辑  收藏  举报