Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working on Linux #3

Open
mathias-aa opened this issue Apr 10, 2018 · 2 comments
Open

Not working on Linux #3

mathias-aa opened this issue Apr 10, 2018 · 2 comments

Comments

@mathias-aa
Copy link

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
Copy link

Same problem here!
We need somehow to transfer and set user to docker container to create folder as a local user

@MikSDigital
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants