/ linux

Install Docker Compose on Cent OS 7

Level - Beginner/Intermediate. Read Time ~ <1 minute.

This was slightly more frustrating than it should be. But you simply just need to run the following commands in the shell: -

  • $ curl -L https://github.com/docker/compose/releases/download/1.7.0/docker-compose-uname -s-uname -m> ./docker-compose
  • $ sudo mv ./docker-compose /usr/bin/docker-compose
  • $ sudo chmod +x /usr/bin/docker-compose

Then run $ docker-compose --version and you should get something similar (version dependant) docker-compose version 1.7.0, build 0d7bf73