services-garbaye/podman-peerjs/90_prune.sh

12 lines
253 B
Bash
Raw Normal View History

2021-05-04 20:26:14 +00:00
#!/usr/bin/env bash
ABSDIR="$( dirname "$(readlink -f -- "$0")" )"
source ${ABSDIR}/../functions.sh
source ${ABSDIR}/vars.sh
ensure_pwd_is_scriptdir
ensure_not_root
podman rm ${container_name}
2021-05-04 20:48:15 +00:00
podman rmi "$(podman images -a -q -- ${upstream_image})"