mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Add podman run --timeout option
This option allows users to specify the maximum amount of time to run before conmon sends the kill signal to the container. Fixes: https://github.com/containers/podman/issues/6412 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -951,6 +951,12 @@ The `container_manage_cgroup` boolean must be enabled for this to be allowed on
|
||||
|
||||
`setsebool -P container_manage_cgroup true`
|
||||
|
||||
#### **\-\-timeout**=*seconds*
|
||||
|
||||
Maximimum time a container is allowed to run before conmon sends it the kill
|
||||
signal. By default containers will run until they exit or are stopped by
|
||||
`podman stop`.
|
||||
|
||||
#### **\-\-tmpfs**=*fs*
|
||||
|
||||
Create a tmpfs mount
|
||||
|
Reference in New Issue
Block a user