From 86b52b4ed5a44fa779b07f8767be429824bb9c76 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Thu, 16 Nov 2017 13:02:35 -0800 Subject: [PATCH] Add StopTimeout --- container.go | 1 + 1 file changed, 1 insertion(+) diff --git a/container.go b/container.go index 3137c56a..f59bf38b 100644 --- a/container.go +++ b/container.go @@ -300,6 +300,7 @@ type Config struct { ExposedPorts map[Port]struct{} `json:"ExposedPorts,omitempty" yaml:"ExposedPorts,omitempty" toml:"ExposedPorts,omitempty"` PublishService string `json:"PublishService,omitempty" yaml:"PublishService,omitempty" toml:"PublishService,omitempty"` StopSignal string `json:"StopSignal,omitempty" yaml:"StopSignal,omitempty" toml:"StopSignal,omitempty"` + StopTimeout int `json:"StopTimeout,omitempty" yaml:"StopTimeout,omitempty" toml:"StopTimeout,omitempty"` Env []string `json:"Env,omitempty" yaml:"Env,omitempty" toml:"Env,omitempty"` Cmd []string `json:"Cmd" yaml:"Cmd" toml:"Cmd"` Healthcheck *HealthConfig `json:"Healthcheck,omitempty" yaml:"Healthcheck,omitempty" toml:"Healthcheck,omitempty"`