mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Add support for StopSignal in quadlet .container files
Fixes: https://github.com/containers/podman/issues/23050 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -306,6 +306,7 @@ Valid options for `[Container]` are listed below:
|
||||
| SecurityLabelNested=true | --security-opt label=nested |
|
||||
| SecurityLabelType=spc_t | --security-opt label=type:spc_t |
|
||||
| ShmSize=100m | --shm-size=100m |
|
||||
| StopSignal=SIGINT | --stop-signal=SIGINT |
|
||||
| StopTimeout=20 | --stop-timeout=20 |
|
||||
| SubGIDMap=gtest | --subgidname=gtest |
|
||||
| SubUIDMap=utest | --subuidname=utest |
|
||||
@ -731,6 +732,12 @@ Size of /dev/shm.
|
||||
|
||||
This is equivalent to the Podman `--shm-size` option and generally has the form `number[unit]`
|
||||
|
||||
### `StopSignal=`
|
||||
|
||||
Signal to stop a container. Default is **SIGTERM**.
|
||||
|
||||
This is equivalent to the Podman `--stop-signal` option
|
||||
|
||||
### `StopTimeout=`
|
||||
|
||||
Seconds to wait before forcibly stopping the container.
|
||||
|
Reference in New Issue
Block a user