mirror of https://github.com/docker/cli.git
Add support for stop-signal in stack command
Signed-off-by: Christophe Robin <crobin@nekoo.com>
This commit is contained in:
parent
dfbad2bc5a
commit
b129a70b5c
|
@ -142,6 +142,7 @@ func Service(
|
||||||
User: service.User,
|
User: service.User,
|
||||||
Mounts: mounts,
|
Mounts: mounts,
|
||||||
StopGracePeriod: service.StopGracePeriod,
|
StopGracePeriod: service.StopGracePeriod,
|
||||||
|
StopSignal: service.StopSignal,
|
||||||
TTY: service.Tty,
|
TTY: service.Tty,
|
||||||
OpenStdin: service.StdinOpen,
|
OpenStdin: service.StdinOpen,
|
||||||
Secrets: secrets,
|
Secrets: secrets,
|
||||||
|
|
|
@ -21,7 +21,6 @@ var UnsupportedProperties = []string{
|
||||||
"restart",
|
"restart",
|
||||||
"security_opt",
|
"security_opt",
|
||||||
"shm_size",
|
"shm_size",
|
||||||
"stop_signal",
|
|
||||||
"sysctls",
|
"sysctls",
|
||||||
"tmpfs",
|
"tmpfs",
|
||||||
"userns_mode",
|
"userns_mode",
|
||||||
|
|
Loading…
Reference in New Issue