diff --git a/types/swarm/container.go b/types/swarm/container.go index f4c913b..11a3889 100644 --- a/types/swarm/container.go +++ b/types/swarm/container.go @@ -15,6 +15,8 @@ type ContainerSpec struct { Env []string `json:",omitempty"` Dir string `json:",omitempty"` User string `json:",omitempty"` + Groups []string `json:",omitempty"` + TTY bool `json:",omitempty"` Mounts []mount.Mount `json:",omitempty"` StopGracePeriod *time.Duration `json:",omitempty"` }