Merge pull request #10119 from rhatdan/timeout

Add podman run --timeout option
This commit is contained in:
OpenShift Merge Robot
2021-04-27 16:47:32 -04:00
committed by GitHub
17 changed files with 92 additions and 6 deletions

View File

@ -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.