-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add environment variable to run the commandbox container under a specific user id #64
Comments
Just to let you know, as a work around / solution you can simply add the user to your image with the id you want. We do this in production where some of our containers need to access NFS shares, and this works perfectly for that.
|
Yeah, thats right. As we run dozens of containers with different user ids, that does not work out for us. |
I have added support for this in the latest snapshot and I have also added a default of any runtime user to |
Add the option to pass an environment variable to run the container under an specific user id.
Currently there is only the option to pass an username via "USER", but you can not control the uid of the user.
Therefore you can not align the ownership of files from the host-system and the container without building you own image.
The text was updated successfully, but these errors were encountered: