What is Docker Compose?
To check the latest version of Docker Compose, browse to https://github.com/docker/compose/releases. At the time of writing this article, the latest version was 1.25.5. Please change this in the command below for a more recent version.
- Start by logging on to your Docker server.
- Run the following commands:
$ sudo curl -L https://github.com/docker/compose/releases/download/1.25.5/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
To check your installation you can run the following command to check the version of docker-compose.
Thanks for visiting.