Commit b1226384 authored by carignani's avatar carignani
Browse files

script to simply stop the container

parent bfe25516
Loading
Loading
Loading
Loading

relaunch.sh

100644 → 100755
+5 −0
Original line number Diff line number Diff line
@@ -3,6 +3,11 @@ CNT=$(docker ps | grep tosca-ie | cut -d " " -f1)
if [ "$CNT" != "" ] ; then
    docker stop "$CNT"
fi

if [ "$1" == "stop" ] ; then
    exit 0
fi 

docker build -t tosca-ie-sample:latest .

docker run -d -t -p 5000:5000 tosca-ie-sample