diff --git a/libnetwork/default_gateway.go b/libnetwork/default_gateway.go index 98cc21f73d..5d58b06175 100644 --- a/libnetwork/default_gateway.go +++ b/libnetwork/default_gateway.go @@ -58,6 +58,8 @@ func (sb *sandbox) setupDefaultGW(srcEp *endpoint) error { } } + createOptions = append(createOptions, CreateOptionAnonymous()) + eplen := gwEPlen if len(sb.containerID) < gwEPlen { eplen = len(sb.containerID)