-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
Hello,
I have tried to run https://github.com/tomasulo/docker-compose-integration-tests on Windows 7 using Docker Tools, however I was not able to run it properly. My ultimate question is, is it possible to use docker-compose-rule on Windows 7?
So far what I have discovered the problem lies with using File::getAbsolutePath in DockerComposeFiles class where JVM produces Windows path format where Docker requires unix format and fails with message of missing docker-compose file. Including stacktrace from my tests:
com.palantir.docker.compose.execution.DockerExecutionException: 'docker-compose up -d' returned exit code 1
The output was:
Windows named pipe error: The system cannot find the file specified. (code: 2)
at com.palantir.docker.compose.execution.Command.lambda$throwingOnError$17(Command.java:60)
at com.palantir.docker.compose.execution.Command.execute(Command.java:50)
at com.palantir.docker.compose.execution.DefaultDockerCompose.up(DefaultDockerCompose.java:74)
at com.palantir.docker.compose.execution.DelegatingDockerCompose.up(DelegatingDockerCompose.java:40)
at com.palantir.docker.compose.execution.RetryingDockerCompose.lambda$up$27(RetryingDockerCompose.java:37)
at com.palantir.docker.compose.execution.Retryer.runWithRetries(Retryer.java:44)
at com.palantir.docker.compose.execution.RetryingDockerCompose.up(RetryingDockerCompose.java:36)
at com.palantir.docker.compose.execution.ConflictingContainerRemovingDockerCompose.up(ConflictingContainerRemovingDockerCompose.java:51)
at com.palantir.docker.compose.DockerComposeRule.before(DockerComposeRule.java:135)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)