diff --git a/libpod/sqlite_state.go b/libpod/sqlite_state.go index cdd0d25c88..d63cb2561e 100644 --- a/libpod/sqlite_state.go +++ b/libpod/sqlite_state.go @@ -1697,6 +1697,10 @@ func (s *SQLiteState) RemovePodContainers(pod *Pod) (defErr error) { return err } + if err := tx.Commit(); err != nil { + return fmt.Errorf("committing pod containers %s removal transaction: %w", pod.ID(), err) + } + return nil }