mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Quadlet - add StopTimeout key for .container file
Allow setting the timeout for stopping the container Add test Update man Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -212,6 +212,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 |
|
||||
| StopTimeout=20 | --stop-timeout=20 |
|
||||
| SubGIDMap=gtest | --subgidname=gtest |
|
||||
| SubUIDMap=utest | --subuidname=utest |
|
||||
| Sysctl=name=value | --sysctl=name=value |
|
||||
@ -616,6 +617,14 @@ Size of /dev/shm.
|
||||
|
||||
This is equivalent to the Podman `--shm-size` option and generally has the form `number[unit]`
|
||||
|
||||
### `StopTimeout=`
|
||||
|
||||
Seconds to wait before forcibly stopping the container.
|
||||
|
||||
Note, this value should be lower than the actual systemd unit timeout to make sure the podman rm command is not killed by systemd.
|
||||
|
||||
This is equivalent to the Podman `--stop-timeout` option
|
||||
|
||||
### `SubGIDMap=`
|
||||
|
||||
Run the container in a new user namespace using the map with name in the /etc/subgid file.
|
||||
|
Reference in New Issue
Block a user