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

[BUG] container image cannot run in restricted environments #2

Open
ibotty opened this issue May 18, 2022 · 0 comments
Open

[BUG] container image cannot run in restricted environments #2

ibotty opened this issue May 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ibotty
Copy link

ibotty commented May 18, 2022

It would be great to allow the image to run as non-root. Ideally with a random user (as required by OpenShift/OKD). I can prepare a pull request that changes the entrypoint to allow running the image as non-root.

How can we reproduce the behavior
Start the container as non-root (e.g. podman run --rm --user 999 taigaio/taiga-protected). The output will be like

Give permission to taiga:taiga
chown: changing ownership of '/taiga-protected/.coveragerc': Operation not permitted
[...]

Workarounds
Run the image as root.

@ibotty ibotty added the bug Something isn't working label May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant