Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CTI Tools
tosca2doc
Commits
b1226384
Commit
b1226384
authored
Jun 17, 2019
by
carignani
Browse files
script to simply stop the container
parent
bfe25516
Changes
1
Hide whitespace changes
Inline
Side-by-side
relaunch.sh
100644 → 100755
View file @
b1226384
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment