fujunling
2023-06-05 70fb56a9fb61f70ccc55fcbc085b470e9423858a
Source/UBCS/service-stop.sh
@@ -191,8 +191,18 @@
             echo $containerName" is not up!!!"
    fi
    #其他服务需要,请自行添加
    imagesName=vci-ubcs/ubcs-applyjtcodeservice
    containerName=ubcs-applyjtcodeservice
    if [[ -n $(docker ps -q -f "name=$containerName") ]];then
             echo $containerName"is up,we will stop and remove it !!!"
             docker stop $containerName
             docker rm $containerName
             docker rmi $imagesName
        else
             echo $containerName" is not up!!!"
    fi
    #其他服务需要,请自行添加
}
stop