Files
container-openldap/test/tools/delete-container.sh
T
2014-05-07 10:52:59 +02:00

12 lines
239 B
Bash
Executable File

#!/bin/sh
. $(dirname $0)/config.prop
# remove openldap test container
res=$(docker.io ps -a | grep -c "$openldapTestContainer")
if [ $res -ne 0 ]; then
docker.io stop openldap-test-container
docker.io rm openldap-test-container
fi