Skip to content

Add docker compose v2 (that replace docker-compose v1) #527

@xfournet

Description

@xfournet

As announced docker compose plugin v2 is GA and docker-compose is now deprecated.

See https://www.docker.com/blog/announcing-compose-v2-general-availability/

It would be convenient to include docker compose plugin v2 too. docker-compose v1 can be kept in parallel for backward compatibility
(please note that docker compose for v2 is different than docker-compose for v1)

To add docker compose plugin to docker the following commands can be used:

DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose

(from https://docs.docker.com/compose/install/#install-compose-on-linux-systems)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions