-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It is a good practice to allow running a container as unprivileged user. To preserve backward compatibility and provide flexibility, this feature is added at the entrypoint level and is set using environment variables. - RUN_UNPRIVILEGED=true activates the unprivileged mode with default uid:gid as 999:999 - RUN_WITH_USER_UID allows to set the uid used for tomcat user - RUN_WITH_USER_UID allows to set the gid used for tomcat group - CHANGE_OWNERSHIP_ON_FOLDERS accepts a space-separated list of folder on which a chmod will be run, changing (recursively) the ownership for the tomcat user.
- Loading branch information
1 parent
d2127af
commit 245d346
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters