Files
container-openldap/test/tools/delete-container.sh
T
2014-06-23 21:30:04 +02:00

10 lines
175 B
Bash
Executable File

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