|
@@ -5,7 +5,7 @@ trap cleanup 0 1 2 3 6 15
|
|
cleanup()
|
|
cleanup()
|
|
{
|
|
{
|
|
echo Terminating $SERVICENAME
|
|
echo Terminating $SERVICENAME
|
|
-# docker stop $(docker ps -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
|
|
|
|
|
|
+ docker stop $(docker ps -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
|
|
docker rm -f $(docker ps -a -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
|
|
docker rm -f $(docker ps -a -q -f label=ru.sdsys.subcontainer=$SERVICENAME)
|
|
}
|
|
}
|
|
|
|
|