Installation Guide

  1. Open Terminal.

  2. Download a stable release of Docker Compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

3. Create a symbolic link to /usr/bin

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

4. Apply executable permissions to the binary

sudo chmod +x /usr/local/bin/docker-compose

5. To confirm that Docker Compose has been installed, check the docker compose version using

docker-compose --version

Reference: https://docs.docker.com/compose/install/

Last updated