proxmark3/docker/rm.sh

10 lines
241 B
Bash
Raw Normal View History

2024-12-19 05:18:05 +08:00
#!/bin/bash
if [ ! -e docker_conf.inc ]; then
echo "This script must be run from within one of the subfolders"
exit 1
fi
. docker_conf.inc
docker rm $(docker ps -aq --filter ancestor="$DOCKER_IMAGE")
docker image rm "$DOCKER_IMAGE"