Open Othman-Benbrahim opened 1 year ago
The error you are facing is windows related.
Try to run the following set of commands in a CMD terminal to configure git on your windows:
git config --global core.fileMode false
git config --global core.autocrlf true
After that :
git clone https://github.com/decidim/docker.git
find ./docker -type f -print0 | xargs -0 -n 1 -P 4 dos2unix
After that, everything should be okay, so you could run:
cd docker
docker compose up
It's don't working, because xargs it's don't recognise by command prompt of windows.
The issue seems to be the fact that you are running on windows. Try to run using WSL in the path where the repo has been cloned into.
I would like to create a docker image of DECIDIM with docker compose, but when I install it on docker, it gives me the following error:
" Error invoking remote method 'docker-start-container': Error: (HTTP code 400) unexpected - failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/code/vendor/hello-world.sh": stat /code/vendor/hello-world.sh: no such file or directory: unknown"
As you are the user of this application, I ask you directly, how to solve it.
https://github.com/decidim/docker/blob/master/docker-compose.yml