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
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
rancherize is run as root when run inside the container. This means the folder .rancherize is generated for root.
The command passes USER_ID and GROUP_ID as environment variable into the container but it does not have an entrypoint script that actually creates a user with those ids and switches to them.
If used with docker --user "$(id -u):$(id -g)" then rancherize runs with the given user but no longer finds ~/.rancherize.
Possible solutions:
Add an entrypoint script that drops rights from root to the given USER_ID and GROUP_ID
rancherize is run as
root
when run inside the container. This means the folder .rancherize is generated for root.The command passes USER_ID and GROUP_ID as environment variable into the container but it does not have an entrypoint script that actually creates a user with those ids and switches to them.
If used with docker --user "$(id -u):$(id -g)" then rancherize runs with the given user but no longer finds
~/.rancherize
.Possible solutions:
The text was updated successfully, but these errors were encountered: