projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38000fc
)
correct detection logic
author
Sam Saffron
<sam.saffron@gmail.com>
Wed, 18 Dec 2013 07:20:10 +0000
(23:20 -0800)
committer
Sam Saffron
<sam.saffron@gmail.com>
Wed, 18 Dec 2013 07:20:10 +0000
(23:20 -0800)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index 35de3a89b4fd65d5a121eac600451111128c5ca7..4c09af0ce7cc2a32caf27a4ae37bfbbb0c4177a9 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-197,7
+197,7
@@
case "$command" in
set_template_info
set_volumes
- existing=`docker ps -a | awk '{ print $1, $(NF) }' | grep
$config
| awk '{ print $1 }'`
+ existing=`docker ps -a | awk '{ print $1, $(NF) }' | grep
"$config:latest"
| awk '{ print $1 }'`
if [ ! -z $existing ]
then
echo "Found an existing container by its name, recovering cidfile, please rerun"