Usage of docker-compose-rule with Podman and docker-compose
GitBernie opened this issue · 0 comments
Can the plugin be used also with Podman and docker-compose? Executing existing IT tests (junit4) that worked fine using Docker (Desktop) and docker-compose before do not work anymore since switching to Podman desktop. When executing the unit tests I get the message....
java.lang.RuntimeException: Exception in classRule
at org.junit.runners.model.TestClass.collectAnnotatedMethodValues(TestClass.java:296)
at org.junit.runners.ParentRunner.classRules(ParentRunner.java:279)
[...]
Caused by: java.lang.IllegalStateException: Could not find docker-compose, looked in: DockerCommandLocations{possiblePaths=[null, /usr/local/bin/docker-compose, /usr/bin/docker-compose]}
at com.palantir.docker.compose.execution.DockerComposeExecutable....
I tried to specify the location to the docker-compose.exe on my Windows machine, using the env var DOCKER_COMPOSE_LOCATION but this didnt help. Same behavior with Podman on Mac.