mirror of
https://github.com/osixia/container-openldap.git
synced 2026-09-24 07:25:17 -05:00
12 lines
239 B
Bash
Executable File
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
|