mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #10119 from rhatdan/timeout
Add podman run --timeout option
This commit is contained in:
@ -298,6 +298,8 @@ type ContainerMiscConfig struct {
|
||||
StopSignal uint `json:"stopSignal,omitempty"`
|
||||
// StopTimeout is the signal that will be used to stop the container
|
||||
StopTimeout uint `json:"stopTimeout,omitempty"`
|
||||
// Timeout is maximimum time a container will run before getting the kill signal
|
||||
Timeout uint `json:"timeout,omitempty"`
|
||||
// Time container was created
|
||||
CreatedTime time.Time `json:"createdTime"`
|
||||
// CgroupManager is the cgroup manager used to create this container.
|
||||
|
Reference in New Issue
Block a user