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

docker container as non root user #58

Open
mergwyn opened this issue Nov 18, 2022 · 0 comments
Open

docker container as non root user #58

mergwyn opened this issue Nov 18, 2022 · 0 comments

Comments

@mergwyn
Copy link

mergwyn commented Nov 18, 2022

The docker container runs as root by default, and this results in a warning Don't run this as Root!. However if you set a different user id using user: 3001:3001 in the compose file then you get an error open /tmp/xteve/permission.test: permission denied (Specified temp folder path is invalid, fallback to /tmp) - EC: 1015

Steps to reproduce the behavior:
set user: to a non root value in the compose file

Expected behavior
The tmp directory should be created with the correct ownership

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