Handle ingress sbox creation gracefully
Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
cabc5b27c0
commit
ed6641ad61
1 changed files with 3 additions and 1 deletions
|
@ -160,7 +160,9 @@ func (daemon *Daemon) SetupIngress(create clustertypes.NetworkCreateRequest, nod
|
|||
|
||||
sb, err := controller.NewSandbox("ingress-sbox", libnetwork.OptionIngress())
|
||||
if err != nil {
|
||||
logrus.Errorf("Failed creating ingress sandbox: %v", err)
|
||||
if _, ok := err.(networktypes.ForbiddenError); !ok {
|
||||
logrus.Errorf("Failed creating ingress sandbox: %v", err)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue