delete-container.sh 175 B

123456789
  1. #!/bin/sh
  2. # remove test container
  3. res=$(docker.io ps -a | grep -c "$testContainer")
  4. if [ $res -ne 0 ]; then
  5. docker.io stop $testContainer
  6. docker.io rm $testContainer
  7. fi