DEV Community

Cover image for Installation of Docker Compose:
Anacarmem Araújo Rêgo
Anacarmem Araújo Rêgo

Posted on

Installation of Docker Compose:

Create a directory for Docker Compose:
mkdir -p ~/.docker/cli-plugins/

Download Docker Compose:
curl -SL https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose

Grant execution permissions:
chmod +x ~/.docker/cli-plugins/docker-compose

Verify the installation:
docker compose version

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more