docker 0.9.0 fixes - ssh bust

This commit is contained in:
Sam 2014-03-13 22:16:07 +11:00
parent 6a8fa7aa1c
commit a2d22fdf73
1 changed files with 2 additions and 2 deletions

View File

@ -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"