Skip to content

Instantly share code, notes, and snippets.

@Forinil
Last active September 2, 2022 12:29
Show Gist options
  • Save Forinil/8e3e2a1d6071adfcd872dd408a2775d8 to your computer and use it in GitHub Desktop.
Save Forinil/8e3e2a1d6071adfcd872dd408a2775d8 to your computer and use it in GitHub Desktop.
Manual installation of Docker Compose V2 on Linux

Manual installation of Docker Compose V2 on Linux

For current user

COMPOSE_VERSION=v2.10.2
wget -O docker-compose https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-linux-x86_64
chmod +x docker-compose

mkdir -p $HOME/.docker/cli-plugins
mv docker-compose $HOME/.docker/cli-plugins

For all users

COMPOSE_VERSION=v2.10.2
wget -O docker-compose https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-linux-x86_64
chmod +x docker-compose

sudo mkdir -p /usr/local/lib/docker/cli-plugins
sudo mv docker-compose /usr/local/lib/docker/cli-plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment