Configure prune script

This commit is contained in:
Loïc 2021-06-14 13:31:28 +02:00
parent 5b4b259802
commit e5f83c1fa2
1 changed files with 4 additions and 0 deletions

View File

@ -18,8 +18,12 @@ ensure_systemd_unit_not_exists ${service_name}
# remove volume
#podman unshare rm -rf ~/${confvolume}/
podman volume rm matrixdotorg_synapse-data
podman volume rm matrixdotorg_synapse-pgsql
# remove images
#for image in ${upstream_images} ; do
# podman rmi $(podman images -a -q -- ${image}) || echo Image ${image} not found.
#done
podman rmi $(podman images -a -q -- ${postgres_image}) || echo Image ${postgres_image} not found.
podman rmi $(podman images -a -q -- ${synapse_image}) || echo Image ${synapse_image} not found.