server: store containers state on disk

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-05-11 12:03:59 +02:00
parent 2ddc062bbe
commit da0b8a6157
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
7 changed files with 30 additions and 0 deletions

View file

@ -52,6 +52,7 @@ func (s *Server) StopPodSandbox(ctx context.Context, req *pb.StopPodSandboxReque
return nil, fmt.Errorf("failed to stop container %s in pod sandbox %s: %v", c.Name(), sb.id, err)
}
}
s.containerStateToDisk(c)
}
resp := &pb.StopPodSandboxResponse{}