Archived
10 lines
166 B
Bash
Executable File
10 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# remove test container
|
|
res=$(docker ps -a | grep -c "$testContainer")
|
|
|
|
if [ $res -ne 0 ]; then
|
|
docker stop $testContainer
|
|
docker rm $testContainer
|
|
fi
|