From db09baf73d6f7b04febd3cbf23103ffb9940c6fd Mon Sep 17 00:00:00 2001 From: Chris Battarbee Date: Mon, 3 Jul 2023 21:19:52 -0700 Subject: [PATCH] Keep running: false --- server/container_checkpoint.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/container_checkpoint.go b/server/container_checkpoint.go index 6873b3c4df..d4bcc0309d 100644 --- a/server/container_checkpoint.go +++ b/server/container_checkpoint.go @@ -96,7 +96,7 @@ func (s *Server) CheckpointContainer(ctx context.Context, req *types.CheckpointC Container: ctr.ID(), ContainerCheckpointOptions: libpod.ContainerCheckpointOptions{ TargetFile: filepath.Join(podCheckpointDirectory, ctr.Name()+".tar"), - KeepRunning: true, + KeepRunning: false, }, } opts = append(opts, localOpts) @@ -117,7 +117,7 @@ func (s *Server) CheckpointContainer(ctx context.Context, req *types.CheckpointC TargetFile: req.Location, // For the forensic container checkpointing use case we // keep the container running after checkpointing it. - KeepRunning: true, + KeepRunning: false, }, } opts = append(opts, localOpts)