mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-13 01:17:39 +00:00
Merge pull request #17559 from TomSweeneyRedHat/dev/tsweeney/fixsecret4.4.1
[v4.4.1-rhel] [CI:DOCS] Touch up secret man page
This commit is contained in:
commit
0b38633c42
1 changed files with 9 additions and 3 deletions
|
|
@ -37,10 +37,16 @@ Secret Options
|
|||
Examples
|
||||
|
||||
Mount at `/my/location/mysecret` with UID 1.
|
||||
```--secret mysecret,target=/my/location/mysecret,uid=1```
|
||||
```
|
||||
--secret mysecret,target=/my/location/mysecret,uid=1
|
||||
```
|
||||
|
||||
Mount at `/run/secrets/customtarget` with mode 0777.
|
||||
```--secret mysecret,target=customtarget,mode=0777```
|
||||
```
|
||||
--secret mysecret,target=customtarget,mode=0777
|
||||
```
|
||||
|
||||
Create a secret environment variable called `ENVSEC`.
|
||||
```--secret mysecret,type=env,target=ENVSEC```
|
||||
```
|
||||
--secret mysecret,type=env,target=ENVSEC
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue