Merge pull request #7006 from ashley-cui/umask

Add --umask flag for create, run
This commit is contained in:
OpenShift Merge Robot
2020-07-22 05:40:32 -04:00
committed by GitHub
23 changed files with 238 additions and 15 deletions

View File

@ -839,6 +839,10 @@ standard input.
Set timezone in container. This flag takes area-based timezones, GMT time, as well as `local`, which sets the timezone in the container to match the host machine. See `/usr/share/zoneinfo/` for valid timezones.
**--umask**=*umask*
Set the umask inside the container. Defaults to `0022`.
**--uidmap**=*container_uid:host_uid:amount*
UID map for the user namespace. Using this flag will run the container with user namespace enabled. It conflicts with the `--userns` and `--subuidname` flags.