Using logs --follow instead of attaching to instance

This commit is contained in:
silasb
2014-02-24 18:48:46 -05:00
parent 217d00a1bc
commit 75286cdfa1

View File

@@ -40,7 +40,7 @@ case "$1" in
CONTAINER=$(<$DOKKU_ROOT/$APP/CONTAINER)
docker logs $CONTAINER | tail -n 100
if [[ $3 == "-t" ]]; then
docker attach $CONTAINER
docker logs --follow $CONTAINER
fi
else
echo "Application's container not found"