Archived
Delete delete-container.sh
This commit is contained in:
1 parent
69ac87fa51
commit
56705e7840
1 file changed
-11
@@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# remove openldap test containers
|
||||
sudo docker.io ps -a > testcontainers.out
|
||||
|
||||
if [ "$(grep -c "openldap-test-container" ./testcontainers.out)" -ne 0 ]; then
|
||||
sudo docker.io stop openldap-test-container
|
||||
sudo docker.io rm openldap-test-container
|
||||
fi
|
||||
|
||||
rm testcontainers.out
|
||||
Reference in new issue
Block a user