diff --git a/libnetwork/store.go b/libnetwork/store.go index adbd9ef7117cdbb0702502837a36116aa25d72f8..49e6874d8968e12c270fa5aacd1fd716d33498ca 100644 --- a/libnetwork/store.go +++ b/libnetwork/store.go @@ -239,9 +239,6 @@ func (c *Controller) processEndpointDelete(ep *Endpoint) { c.mu.Lock() if len(nw.localEps) == 0 { - // This is the last container going away for the network. Destroy - // this network's svc db entry - delete(c.svcRecords, networkID) delete(c.nmap, networkID) } }