First time here? Checkout the FAQ!
0 votes
by (3.4k points)

I ran into an issue while trying to use the opencarp-docker script on Windows.

My configuration:

Windows 10, Docker with WSL 2 backend, using as a shell "Git Bash" from Git for Windows

I followed the instructions in (option 2), i.e. executed (for simplicity, I use here the current working directory as installation path):

git clone

cd openCARP/docker

./ .

./opencarp-docker pull

The issue happened then, when trying to run bench:

./opencarp-docker bench

I've got the following error:

docker: Error response from daemon: the working directory 'C:/Users/me/AppData/Local/Programs/Git/shared' is invalid, it needs to be an absolute path.
See 'docker run --help'.

1 Answer

0 votes
by (3.4k points)
Best answer

I found a solution on this page:

It is due to the use of Git Bash, in particular Mingw/msys2 doing automatic path conversion.

In order to fix it, run the following command:


You should now be able to run bench.

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance