Skip to content

Instantly share code, notes, and snippets.

@realFranco
Created September 16, 2022 14:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save realFranco/3ee71679509318462f062c61bc960ea8 to your computer and use it in GitHub Desktop.
Save realFranco/3ee71679509318462f062c61bc960ea8 to your computer and use it in GitHub Desktop.
Install Docker Compose v2 inside ubuntu 20.04 LTS
mkdir -p ~/.docker/cli-plugins
curl -sSL https://github.com/docker/compose/releases/download/v2.11.0/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
docker compose version
# Docker Compose version v2.11.0
# This will let you run docker compose in the new form `docker compose .f compose.yaml up`
# References: https://www.rockyourcode.com/how-to-install-docker-compose-v2-on-linux-2021/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment