mirror of
https://github.com/osixia/container-openldap.git
synced 2026-09-25 16:50:23 -04:00
Delete delete-container.sh
This commit is contained in:
@@ -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