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