We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0710b0d commit 1aa5fc0Copy full SHA for 1aa5fc0
images/hook-docker/main.go
@@ -63,6 +63,10 @@ func run() error {
63
myEnvs = append(myEnvs, fmt.Sprintf("HTTP_PROXY=%s", cfg.httpProxy))
64
myEnvs = append(myEnvs, fmt.Sprintf("HTTPS_PROXY=%s", cfg.httpsProxy))
65
myEnvs = append(myEnvs, fmt.Sprintf("NO_PROXY=%s", cfg.noProxy))
66
+ // We set this so that the dockerd-entrypoint.sh will run docker with TLS enabled.
67
+ // This is needed as the docker daemon is listening on 0.0.0.0 and it's not straightforward
68
+ // to reconfigure this. Enabling TLS will block remote access to the docker daemon for now.
69
+ myEnvs = append(myEnvs, "DOCKER_TLS_CERTDIR=/certs")
70
71
cmd.Env = append(os.Environ(), myEnvs...)
72
0 commit comments