From f92e7a59d906e6c4dfc5406e7928c3b29647a1d5 Mon Sep 17 00:00:00 2001 From: Paul Lietar Date: Wed, 20 Nov 2013 00:44:00 +0000 Subject: [PATCH] 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 --- plugins/00_dokku-standard/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/00_dokku-standard/commands b/plugins/00_dokku-standard/commands index 37196a374..7a7252a20 100755 --- a/plugins/00_dokku-standard/commands +++ b/plugins/00_dokku-standard/commands @@ -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)