Force connection of stdin and stderr in the run command.

If stdin is closed, which is the case when pluginhook is called from an
interactive session, "docker run" does not connect stdin and stderr by default.
Fixes #323
This commit is contained in:
Paul Lietar
2013-11-20 00:44:00 +00:00
parent 4ad0c6bb7c
commit f92e7a59d9

View File

@@ -51,7 +51,7 @@ case "$1" in
exit 1
fi
shift 2
docker run -i -t $IMAGE /exec "$@"
docker run -i -t -a stdout -a stderr $IMAGE /exec "$@"
;;
url)