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)