mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Default Gateway endpoints must be annonymous
Signed-off-by: Madhu Venugopal <madhu@docker.com>
This commit is contained in:
parent
0c9eeec760
commit
a687e431c0
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue