If you get a
Permission denied
error, Runsudo -i
before the two commands below, then exit.
/usr/local/bin/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
You can change version
1.7.1
to match your desired version. Try get version from https://github.com/docker/compose/releases
chmod +x /usr/local/bin/docker-compose
docker-compose --version
Expected docker-compose version 1.7.1, build 0a9ab35