This repository has been archived on 2026-11-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker-openldap/test/tools/delete-container.sh
T
2014-05-07 14:24:55 +02:00

12 lines
237 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 $openldapTestContainer
docker.io rm $openldapTestContainer
fi