mirror of
https://github.com/containers/podman.git
synced 2025-05-17 15:18:43 +08:00
Add an API for removing a container and dependencies
This is the initial stage of implementation. The current API functions but does not report the additional containers and pods removed. This is necessary to properly display results to the user after `podman rm --all`. The existing remove-dependencies code has been removed in favor of this more native solution. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -142,7 +142,7 @@ func (r *Runtime) removeMalformedPod(ctx context.Context, p *Pod, ctrs []*Contai
|
||||
ctrNamedVolumes[vol.Name] = vol
|
||||
}
|
||||
|
||||
return r.removeContainer(ctx, ctr, force, false, true, true, timeout)
|
||||
return r.removeContainer(ctx, ctr, force, false, true, true, false, false, timeout)
|
||||
}()
|
||||
|
||||
if removalErr == nil {
|
||||
|
Reference in New Issue
Block a user