Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support Docker integration on Windows #2421
I'm trying to get any stack command to work with
docker: enabled: true
After enabling docker, stack told me to use the comman
From now on, every time I try any stack command, stack quits right away with the message:
I really want to use Docker here to get a consistent environment. Using stack:
EDIT: I'm pretty sure it is somehow related to this line, but I don't understand enough of it to try and fix it.
Docker integration does not support Windows at the moment. See https://docs.haskellstack.org/en/stable/docker_integration/#prerequisites and #194.
Since we don't have a specific issue covering Docker support on Windows, I'll rename this one and leave it open. If you'd like to take a stab at adding support, that would be most appreciated. Aside from figuring out how to do user ID mapping on Windows, the code currently assumes that paths from the host can be used exactly in the container, which is not the case for Windows style paths.
referenced this issue
Aug 4, 2016
Confirming the issue still exists with Docker Toolbox on Windows 7:
as @borsboom pointed out:
I tried a stack based project, but I got this error:
Same problem as @varosi .
I think I'll just use the fpco docker image, but use a docker volume or something to get something working... But then I won't have a .exe as binary. This is problematic....