Skip to content

Instantly share code, notes, and snippets.

@thiagoeh
Created September 1, 2022 21:26
Show Gist options
  • Save thiagoeh/f202105333864c7c34a7cbd9ad888ec2 to your computer and use it in GitHub Desktop.
Save thiagoeh/f202105333864c7c34a7cbd9ad888ec2 to your computer and use it in GitHub Desktop.
Docker compose automated install from the latest release
mkdir -p ~/.local/bin
curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o ~/.local/bin/docker-compose
chmod +x ~/.local/bin/docker-compose
docker-compose --version
@thiagoeh
Copy link
Author

thiagoeh commented Sep 1, 2022

This assumes you already have ~/.local/bin on your shell PATH

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