From a16d6c16e61d1c9d0ef08553013a0f32e358eb12 Mon Sep 17 00:00:00 2001 From: Tom Arnfeld Date: Sat, 1 Nov 2014 16:41:21 +0000 Subject: [PATCH] Missing env argument to subprocess.Popen --- portainer/app/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portainer/app/executor.py b/portainer/app/executor.py index 6b1cf06..35c0c70 100644 --- a/portainer/app/executor.py +++ b/portainer/app/executor.py @@ -75,7 +75,7 @@ def launch_docker_daemon(): ) # Use the `wrapdocker` script included in our docker image - proc = subprocess.Popen(["/usr/local/bin/wrapdocker"]) + proc = subprocess.Popen(["/usr/local/bin/wrapdocker"], env=env) self.docker = docker.Client() while True: