From 4a94540c309467e8d8addd5109e8336d72994321 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Sat, 18 Jun 2016 20:52:08 -0500 Subject: [PATCH] Fix: include stderr output in Docker logs --- plugins/dynamix.docker.manager/scripts/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix.docker.manager/scripts/docker b/plugins/dynamix.docker.manager/scripts/docker index 9cb6bb23..d024e664 100755 --- a/plugins/dynamix.docker.manager/scripts/docker +++ b/plugins/dynamix.docker.manager/scripts/docker @@ -18,7 +18,7 @@ array_shift($argv); $colorize = ($argv[0] == 'logs'); if ($colorize) echo "

ErrorWarningSystemArray

\n"; -$handle = popen('/usr/bin/docker "'.implode('" "',$argv).'"','r'); +$handle = popen('/usr/bin/docker "'.implode('" "',$argv).'" 2>1&','r'); while (!feof($handle)) { $line = fgets($handle); if ($colorize) {