cli
cli copied to clipboard
Tendermint user in the Docker File
When trying to scaffold the blockchain on my machine there are many permission issues stemming from the Dockerfile setting tendermint as the user. Therefore it is trying to access files that it's not allowed to access. The code snippet is taken directly from the Dockerfile
RUN useradd -ms /bin/bash tendermint
USER tendermint
Why is the user set as tendermint. Is this an issue that others trying to run on Docker have faced before. If so how did you overcome these issues.
Even if it's not the perfect solution, using this custom user avoids having all the files and directories owned by root, when for instance you scaffold a chain.
Can you detail the kind of permission error you got ?
We updated the Docker documentation to mitigate the permission errors, tell me if that helps. https://github.com/ignite/cli/pull/2622
@Jai-Anchorage this issue should be resolved now. If the issue persists, please feel free to open a new issue!