mirror of
https://github.com/containers/podman.git
synced 2025-07-02 08:47:43 +08:00
add flag "--pidfile" for podman create/run
Signed-off-by: chenkang <kongchen28@gmail.com>
This commit is contained in:
@ -1224,6 +1224,13 @@ The default working directory for running binaries within a container is the roo
|
||||
The image developer can set a different default with the WORKDIR instruction. The operator
|
||||
can override the working directory by using the **-w** option.
|
||||
|
||||
#### **\-\-pidfile**=*path*
|
||||
|
||||
Write the pid of the container process to a file.
|
||||
|
||||
The default pidfile is RunDir/pidfile.
|
||||
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
### Create a container using a local image
|
||||
|
@ -1305,6 +1305,12 @@ The default working directory for running binaries within a container is the roo
|
||||
The image developer can set a different default with the WORKDIR instruction. The operator
|
||||
can override the working directory by using the **-w** option.
|
||||
|
||||
#### **\-\-pidfile**=*path*
|
||||
|
||||
Write the pid of the container process to a file.
|
||||
|
||||
The default pidfile is RunDir/pidfile.
|
||||
|
||||
## Exit Status
|
||||
|
||||
The exit code from **podman run** gives information about why the container
|
||||
|
Reference in New Issue
Block a user