mirror of
https://github.com/osixia/container-openldap.git
synced 2026-09-26 01:00:47 -04:00
11 lines
189 B
Bash
Executable File
11 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# remove openldap test image
|
|
docker.io images > testimage.out
|
|
|
|
if [ "$(grep -c "openldap-test" ./testimage.out)" -ne 0 ]; then
|
|
docker.io rmi openldap-test
|
|
fi
|
|
|
|
rm testimage.out
|