services-garbaye/podman-privatebin/80_destroy.sh
2022-02-13 22:49:28 +01:00

14 lines
330 B
Bash
Executable file

#!/usr/bin/env bash
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
source ${ABSDIR}/../functions.sh
source ${ABSDIR}/vars.sh
# Run regular prune script for pods
source ${ABSDIR}/../_podman-common/80_destroy_container.sh &&
# Remove runtime volumes
for volume in ${nonpersistent_volumes}; do
podman volume rm ${volume}
done