You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the container will fail to start if it's not running privileged, due to the entrypoint's setup permissions. It needs a way to skip it, and preferably without gosu.
To Reproduce
Steps to reproduce the behavior:
Run container as unprivileged on Kubernetes
See that it's unable to run chown due to that nor use gosu as it requires root.
Container unable to start due to operation not permitted errors
Expected behavior
I would expect it to work without issue, as it's running as 1000:1000, but that doesn't seem enough.
Screenshots
If applicable, add screenshots to help explain your problem.
Running on bare-metal k3s Kubernetes, using containerd
Additional context
[entrypoint] setup permission, this may take a while
chown: changing ownership of '.': Operation not permitted
chown: changing ownership of './users': Operation not permitted
chown: changing ownership of './appdata': Operation not permitted
chown: changing ownership of './audio': Operation not permitted
chown: changing ownership of './subscriptions': Operation not permitted
chown: changing ownership of './video': Operation not permitted
WARNING! Could not change directory ownership. If you manage permissions externally this is fine, otherwise you may experience issues when downloading or deleting videos.
error: failed switching to "1000:1000": operation not permitted
The text was updated successfully, but these errors were encountered:
samip5
changed the title
[BUG] Container will not be able to run non-privileged
[BUG] Container will not be able to run properly non-privileged
Feb 16, 2024
Describe the bug
Currently the container will fail to start if it's not running privileged, due to the entrypoint's setup permissions. It needs a way to skip it, and preferably without gosu.
To Reproduce
Steps to reproduce the behavior:
operation not permitted
errorsExpected behavior
I would expect it to work without issue, as it's running as 1000:1000, but that doesn't seem enough.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
The text was updated successfully, but these errors were encountered: