Not working on Linux
mathias-aa opened this issue · 2 comments
mathias-aa commented
Hi !
I can't get to make it work on linux.
I'm struggling with user permission as generate files are root privileged and I'm not able to edit them from my host IDE.
Unless this problem, everything works like a charm.
Can you help ?
MikSDigital commented
Same problem here!
We need somehow to transfer and set user to docker container to create folder as a local user
MikSDigital commented
Got it working with this (I am not sure it is correct solution yet):
docker run -it --rm -u $(id -u ${USER}):$(id -g ${USER}) -v $(pwd):/site -p 8000:8000 aripalo/gatsby-docker bin/sh