Bug #98136
closedDocker-compose in runTests.sh
0%
Description
I cant run
Build/Scripts/runTests.sh -s composerInstall
command.
Build/Scripts/runTests.sh: Zeile 299: type: docker-compose: Nicht gefunden. This script relies on docker and docker-compose. Please install
The reason here is not that docker compose isn't installed, its that in newer docker versions compose is installed as plugin to docker, so the command is now "docker compose" instead of "docker-compose".
Workaround:
Install https://github.com/docker/compose-switch
Expected:
The runTests.sh script should handle both versions.
Updated by Stefan Bürk almost 2 years ago
Current state of runTests.sh relies on the dedicated/standalone docker-compose script (not the docker compose plugin). Currently this is a requirement.
Until last week it was required to have docker-compose v1, we just lifted that slightly, We want to avoid huge detection - and already have another plan for this.
The plan is to move away from docker-compose to docker as a first step, there has been first work on it. We may finish this sometimes soon.
The second step will be to move from "docker" to "podman".
Updated by Christian Kuhn 10 months ago
- Related to Feature #97566: Remove docker-compose in runTests.sh added