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

using docker volume results in permissions denied #2

Open
utdrmac opened this issue Aug 26, 2019 · 1 comment
Open

using docker volume results in permissions denied #2

utdrmac opened this issue Aug 26, 2019 · 1 comment

Comments

@utdrmac
Copy link

utdrmac commented Aug 26, 2019

docker volume create tezos_node
docker run -v tezos_node:/var/run/tezos ....
...
Error: Unix permission denied

This is because the volume is mounted at the path, owned by 'root' which the tezos user cannot modify.

I was able to fix this by modifying the Dockerfile as follows:

RUN useradd -ms /bin/bash tezos

RUN mkdir -p /var/run/tezos/node /var/run/tezos/client && \
        chown tezos /var/run/tezos/node /var/run/tezos/client
@utdrmac
Copy link
Author

utdrmac commented Dec 11, 2019

Fixed in #3

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

1 participant