mirror of
https://github.com/containers/podman.git
synced 2025-05-20 16:47:39 +08:00
Add --umask flag for create, run
--umask sets the umask inside the container Defaults to 0022 Co-authored-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
@ -833,6 +833,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.
|
||||
|
@ -874,6 +874,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*
|
||||
|
||||
Run the container in a new user namespace using the supplied mapping. This option conflicts
|
||||
|
Reference in New Issue
Block a user