diff --git a/libnetwork/sandbox_store.go b/libnetwork/sandbox_store.go index efa33aae60..61eda408e4 100644 --- a/libnetwork/sandbox_store.go +++ b/libnetwork/sandbox_store.go @@ -128,6 +128,12 @@ func (sb *sandbox) storeUpdate() error { retry: sbs.Eps = nil for _, ep := range sb.getConnectedEndpoints() { + // If the endpoint is not persisted then do not add it to + // the sandbox checkpoint + if ep.Skip() { + continue + } + eps := epState{ Nid: ep.getNetwork().ID(), Eid: ep.ID(),