Explorar el Código

Merge pull request #704 from mavenugo/dgw

Default Gateway endpoints must be annonymous
aboch hace 9 años
padre
commit
df8c425c3d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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)