Merge pull request #13616 from giuseppe/passwd-entry

run, create: add --passwd-entry
This commit is contained in:
OpenShift Merge Robot
2022-04-14 15:35:20 -04:00
committed by GitHub
11 changed files with 74 additions and 0 deletions

View File

@ -755,6 +755,12 @@ Tune the host's OOM preferences for containers (accepts -1000 to 1000)
#### **--os**=*OS*
Override the OS, defaults to hosts, of the image to be pulled. For example, `windows`.
#### **--passwd-entry**=*ENTRY*
Customize the entry that is written to the `/etc/passwd` file within the container when `--passwd` is used.
The variables $USERNAME, $UID, $GID, $NAME, $HOME are automatically replaced with their value at runtime.
#### **--personality**=*persona*
Personality sets the execution domain via Linux personality(2).

View File

@ -787,6 +787,12 @@ Override the OS, defaults to hosts, of the image to be pulled. For example, `win
Allow Podman to add entries to /etc/passwd and /etc/group when used in conjunction with the --user option.
This is used to override the Podman provided user setup in favor of entrypoint configurations such as libnss-extrausers.
#### **--passwd-entry**=*ENTRY*
Customize the entry that is written to the `/etc/passwd` file within the container when `--passwd` is used.
The variables $USERNAME, $UID, $GID, $NAME, $HOME are automatically replaced with their value at runtime.
#### **--personality**=*persona*
Personality sets the execution domain via Linux personality(2).