From a687e431c037231649eaec1272a0cdc8ba404fc1 Mon Sep 17 00:00:00 2001 From: Madhu Venugopal Date: Fri, 23 Oct 2015 16:52:11 -0700 Subject: [PATCH] Default Gateway endpoints must be annonymous Signed-off-by: Madhu Venugopal --- libnetwork/default_gateway.go | 2 ++ 1 file changed, 2 insertions(+) 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)