Skip to content
Snippets Groups Projects
Commit b1226384 authored by carignani's avatar carignani
Browse files

script to simply stop the container

parent bfe25516
No related branches found
No related tags found
No related merge requests found
relaunch.sh 100644 → 100755
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment