Skip to content

Conversation

@MarcelDiessner
Copy link
Collaborator

No description provided.

@MarcelDiessner
Copy link
Collaborator Author

I don't really know what to check in the assertDockerCompose

@MarcelDiessner MarcelDiessner linked an issue Dec 22, 2020 that may be closed by this pull request
@MarcelDiessner MarcelDiessner self-assigned this Jan 22, 2021
@MarcelDiessner
Copy link
Collaborator Author

MarcelDiessner commented Jan 22, 2021

@maybeec Only the linux pipeline succeeds, but windows always fails, i tried multiple projects. Locally on my windows pc it works fine. Seems like its a problem with the installed docker. See failed jobs for logs. How do i fix this?

@GuentherJulian
Copy link
Contributor

@MarcelDiessner, @maybeec I think for most projects the command will not work.
I can reproduce the error thrown in the build for the my-thai-star project when switching to windows containers in docker. In the project, 'bridge' is set as the network driver for docker. This driver is not supported on windows. When switching back to linux containers, the docker-compose command works as expected.
The problem is that linux containers are not supported on Windows Server 2019, as explained here: actions/runner-images#1143 (comment)

@MarcelDiessner
Copy link
Collaborator Author

I think with my latest changes i should be able to make it run on windows pipeline, but the path of the DockerCli.exe is wrong. Is there a way to get the path of this file.

@GuentherJulian
Copy link
Contributor

I think with my latest changes i should be able to make it run on windows pipeline, but the path of the DockerCli.exe is wrong. Is there a way to get the path of this file.

Maybe you can extract the docker installation directory from the environment variables.

@MarcelDiessner MarcelDiessner requested review from SchettlerKoehler and removed request for maybeec February 10, 2021 15:14
Added path to docker-compose
@MarcelDiessner MarcelDiessner merged commit f76f7e9 into devonfw-tutorials:main Feb 15, 2021
@MarcelDiessner MarcelDiessner deleted the feature/consoleDockerCompose branch March 23, 2021 10:06
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

Successfully merging this pull request may close these issues.

console runner: dockerCompose

2 participants