services: docker: Fix configuration.

This is a follow-up to e04b90607a.

* gnu/services/docker.scm
(docker-shepherd-service): Fix "enable-proxy?" configuration.
This commit is contained in:
Oleg Pykhalov 2020-09-23 23:34:21 +03:00
parent 9273f75dd6
commit cd4bb173e0
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -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?
(list "--userland-proxy=true"
#~(string-append
"--userland-proxy-path=" #$proxy "/bin/proxy"))
'("--userland-proxy=false"))
(if #$enable-iptables?
"--iptables"
"--iptables=false"))