This commit is contained in:
Bertrand Gouny committed 2014-05-07 08:29:43 +02:00
1 parent 4e610b3b46
commit 73bf28d2c5
8 files changed
+25 -30

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
#!/bin/sh
# remove openldap test container
sudo docker.io ps -a > testcontainer.out
docker.io ps -a > testcontainer.out
if [ "$(grep -c "openldap-test-container" ./testcontainer.out)" -ne 0 ]; then
sudo docker.io stop openldap-test-container
sudo docker.io rm openldap-test-container
docker.io stop openldap-test-container
docker.io rm openldap-test-container
fi
rm testcontainer.out