Problem with development on Windows with Docker and mounted volume

Funny @pixeltrix came across this yesterday and used this hack to work around it:

https://github.com/alphagov/e-petitions/commit/98f288501f5b9c8b6347c1c6009da7218ec7bea2

I recommend just installing WSL2 and using our WSL2 setup which is far faster and easier to reason about:

Installation of dev environment is trivial, you just get WSL2 going, install docker, and then use our docker dev setup.

4 Likes