Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
Keep running: false
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisbattarbee committed Jul 4, 2023
1 parent e6704d4 commit db09baf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/container_checkpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit db09baf

Please sign in to comment.