Forráskód Böngészése

Default Gateway endpoints must be annonymous

Signed-off-by: Madhu Venugopal <madhu@docker.com>
Madhu Venugopal 9 éve
szülő
commit
a687e431c0
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      libnetwork/default_gateway.go

+ 2 - 0
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)