Skip to content

Instantly share code, notes, and snippets.

@iliion
Last active November 12, 2021 17:33
Show Gist options
  • Save iliion/d340238f9949d0da7aa90dbdaecfacfe to your computer and use it in GitHub Desktop.
Save iliion/d340238f9949d0da7aa90dbdaecfacfe to your computer and use it in GitHub Desktop.
Install Docker compose { Ubuntu, CentOS7 }

INSTALL DOCKER COMPOSE

Download the current stable release of Docker Compose

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

Apply executable permissions to the binary

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

Test

docker-compose --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment