mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00
Merge pull request #10894 from cdoern/pidPod
podman pod create --pid flag
This commit is contained in:
@ -120,6 +120,14 @@ Add a DNS alias for the container. When the container is joined to a CNI network
|
||||
|
||||
Disable creation of /etc/hosts for the pod.
|
||||
|
||||
#### **--pid**=*pid*
|
||||
|
||||
Set the PID mode for the pod. The default is to create a private PID namespace for the pod. Requires the PID namespace to be shared via --share.
|
||||
|
||||
host: use the host’s PID namespace for the pod
|
||||
ns: join the specified PID namespace
|
||||
private: create a new namespace for the pod (default)
|
||||
|
||||
#### **--pod-id-file**=*path*
|
||||
|
||||
Write the pod ID to the file.
|
||||
|
Reference in New Issue
Block a user