diff options
author | wuhua.ck <wuhua.ck@alibaba-inc.com> | 2021-04-15 22:36:50 +0800 |
---|---|---|
committer | chenkang <kongchen28@gmail.com> | 2021-04-16 13:43:14 +0800 |
commit | 8fbe06b8cbd8e3bc425d83130d562eb0c19f309b (patch) | |
tree | db52b4259b92ad6fb30bbe3ff07d01eb7ce208ef /docs | |
parent | 373f15f617db6731c58776c1766a4cf2c74b22b9 (diff) | |
download | podman-8fbe06b8cbd8e3bc425d83130d562eb0c19f309b.tar.gz podman-8fbe06b8cbd8e3bc425d83130d562eb0c19f309b.tar.bz2 podman-8fbe06b8cbd8e3bc425d83130d562eb0c19f309b.zip |
add flag "--pidfile" for podman create/run
Signed-off-by: chenkang <kongchen28@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-create.1.md | 7 | ||||
-rw-r--r-- | docs/source/markdown/podman-run.1.md | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-create.1.md b/docs/source/markdown/podman-create.1.md index ae6dfe03b..08b1db9ba 100644 --- a/docs/source/markdown/podman-create.1.md +++ b/docs/source/markdown/podman-create.1.md @@ -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 diff --git a/docs/source/markdown/podman-run.1.md b/docs/source/markdown/podman-run.1.md index 40b271828..1fa6ede06 100644 --- a/docs/source/markdown/podman-run.1.md +++ b/docs/source/markdown/podman-run.1.md @@ -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 |