docker 0.9.0 fixes - ssh bust
authorSam <sam.saffron@gmail.com>
Thu, 13 Mar 2014 11:16:07 +0000 (22:16 +1100)
committerSam <sam.saffron@gmail.com>
Thu, 13 Mar 2014 11:16:07 +0000 (22:16 +1100)
launcher

index 52d3711881d30077891c912daaf0e4eed0242ed3..54dcffd91c47cd5f6ad3eecada49ce89de537fda 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -216,7 +216,7 @@ case "$command" in
              exit 1
            fi
 
-           docker run "${env[@]}" -h "`hostname`-$config" -e DOCKER_HOST_IP=$docker_ip --name $config --cidfile $cidfile $ports \
+           docker run "${env[@]}" -h "`hostname`-$config" -e DOCKER_HOST_IP=$docker_ip --name $config -t --cidfile $cidfile $ports \
                       -d $volumes $local_discourse/$config /usr/bin/runsvdir -P /etc/service
 
            exit 0
@@ -230,7 +230,7 @@ case "$command" in
              exit 1
            fi
 
-           found=`docker ps -q -a --notrunc | grep $cid`
+           found=`docker ps -q -a --no-trunc | grep $cid`
            if [ -z $found ]
            then
              echo "Invalid cid file, deleting, please re-run"