mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Merge pull request #10366 from ashley-cui/secretoptions
Support uid,gid,mode options for secrets
This commit is contained in:
@ -859,6 +859,9 @@ Secret Options
|
||||
|
||||
- `type=mount|env` : How the secret will be exposed to the container. Default mount.
|
||||
- `target=target` : Target of secret. Defauts to secret name.
|
||||
- `uid=0` : UID of secret. Defaults to 0. Mount secret type only.
|
||||
- `gid=0` : GID of secret. Defaults to 0. Mount secret type only.
|
||||
- `mode=0` : Mode of secret. Defaults to 0444. Mount secret type only.
|
||||
|
||||
#### **--security-opt**=*option*
|
||||
|
||||
|
@ -911,6 +911,9 @@ Secret Options
|
||||
|
||||
- `type=mount|env` : How the secret will be exposed to the container. Default mount.
|
||||
- `target=target` : Target of secret. Defauts to secret name.
|
||||
- `uid=0` : UID of secret. Defaults to 0. Mount secret type only.
|
||||
- `gid=0` : GID of secret. Defaults to 0. Mount secret type only.
|
||||
- `mode=0` : Mode of secret. Defaults to 0444. Mount secret type only.
|
||||
|
||||
#### **--security-opt**=*option*
|
||||
|
||||
|
Reference in New Issue
Block a user