소스 검색

Merge pull request #704 from mavenugo/dgw

Default Gateway endpoints must be annonymous
aboch 9 년 전
부모
커밋
df8c425c3d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)