mirror of https://github.com/docker/cli.git
Merge pull request #388 from christopherobin/feature/stopsignal
Add support for stop-signal in stack command
This commit is contained in:
commit
f386d476ba
|
@ -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