diff --git a/daemon/cluster/executor/container/executor.go b/daemon/cluster/executor/container/executor.go index 14e41fa837eca1e9c54a1c2440689790d9e4eaf3..b032163f9539e64956a08f72ce79b9a1c5d30fb3 100644 --- a/daemon/cluster/executor/container/executor.go +++ b/daemon/cluster/executor/container/executor.go @@ -146,6 +146,11 @@ func (e *executor) Configure(ctx context.Context, node *api.Node) error { attachments[na.Network.ID] = na.Addresses[0] } + if (ingressNA == nil) && (node.Attachment != nil) { + ingressNA = node.Attachment + attachments[ingressNA.Network.ID] = ingressNA.Addresses[0] + } + if ingressNA == nil { e.backend.ReleaseIngress() return e.backend.GetAttachmentStore().ResetAttachments(attachments)