Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of docker-compose-rule with Podman and docker-compose #740

Open
GitBernie opened this issue Jan 11, 2024 · 0 comments
Open

Usage of docker-compose-rule with Podman and docker-compose #740

GitBernie opened this issue Jan 11, 2024 · 0 comments

Comments

@GitBernie
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant