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