Files
container-openldap/test/tools/delete-image.sh
T
2014-05-07 08:29:43 +02:00

11 lines
189 B
Bash
Executable File

#!/bin/sh
# remove openldap test image
docker.io images > testimage.out
if [ "$(grep -c "openldap-test" ./testimage.out)" -ne 0 ]; then
docker.io rmi openldap-test
fi
rm testimage.out