Skip to content

Commit

Permalink
podman: workaround to cleanup volumes
Browse files Browse the repository at this point in the history
The `v=True` parameter seems broken. Delete all old images via `prune`

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar committed Sep 29, 2023
1 parent db3bd7f commit c361ae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asu/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def run_container(
logging.debug(f"Closed {host_tar}")

container.remove(v=True)
podman.volumes.prune() # TODO: remove once v=True works

return returncode, stdout, stderr

Expand Down

0 comments on commit c361ae0

Please sign in to comment.