ParseProxyConfig parses the proxy config from the ~/.docker/config.json
(buildArgs map[string]*string)
| 187 | |
| 188 | // ParseProxyConfig parses the proxy config from the ~/.docker/config.json |
| 189 | func (c *client) ParseProxyConfig(buildArgs map[string]*string) map[string]*string { |
| 190 | dockerConfig, err := LoadDockerConfig() |
| 191 | if err == nil { |
| 192 | buildArgs = dockerConfig.ParseProxyConfig(c.DaemonHost(), buildArgs) |
| 193 | } |
| 194 | |
| 195 | return buildArgs |
| 196 | } |
nothing calls this directly
no test coverage detected