diff --git a/gnu/services/docker.scm b/gnu/services/docker.scm index c7296d5b1b..2f13c270ab 100644 --- a/gnu/services/docker.scm +++ b/gnu/services/docker.scm @@ -122,11 +122,11 @@ (define (docker-shepherd-service config) #$@(if debug? '("--debug" "--log-level=debug") '()) - #$@(if enable-proxy? - '("--userland-proxy=true" - (string-append - "--userland-proxy-path=" proxy "/bin/proxy")) - '("--userland-proxy=false")) + (if #$enable-proxy? + '("--userland-proxy=true" + (string-append + "--userland-proxy-path=" #$proxy "/bin/proxy")) + '("--userland-proxy=false")) (if #$enable-iptables? "--iptables" "--iptables=false"))