diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-27 16:47:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 16:47:32 -0400 |
commit | f613a2a8d5778cf088f4d18b69c86b082264a882 (patch) | |
tree | bf07f589419a0d25d23125eaeb27f04103b49ca1 /libpod/container_config.go | |
parent | dbc13f3dac4fa4095ae5db86085e5711a701eb7b (diff) | |
parent | 3538815c5b2b4c97304e3ea940cee414b0004d2f (diff) | |
download | podman-f613a2a8d5778cf088f4d18b69c86b082264a882.tar.gz podman-f613a2a8d5778cf088f4d18b69c86b082264a882.tar.bz2 podman-f613a2a8d5778cf088f4d18b69c86b082264a882.zip |
Merge pull request #10119 from rhatdan/timeout
Add podman run --timeout option
Diffstat (limited to 'libpod/container_config.go')
-rw-r--r-- | libpod/container_config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/container_config.go b/libpod/container_config.go index d0572fbc2..ede6b1aab 100644 --- a/libpod/container_config.go +++ b/libpod/container_config.go @@ -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. |