You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker CLI fails to parse its config.json if it contains a proxy configuration object based on the format shown in the documentation:
$ docker version
WARNING: Error loading config file: /home/sl/.docker/config.json - json: cannot unmarshal string into Go struct field ConfigFile.proxies of type configfile.ProxyConfig
The documented JSON proxy configuration structure does not match the implementation in docker/cli#93. The JSON strucuture requires an intermediate object named default in between proxies and the servers. This is because, in addition to the default proxy servers, the cli implementation makes it possible to specify the proxies to use when connnecting to a specific docker daemon, e.g.
As per the implementation in docker/cli#93 the proxy server addresses
are specified per docker daemon or as defaults. Updated the example to
show the default option.
Fixesdocker#4686
* Update documentation of proxy server configuration
As per the implementation in docker/cli#93 the proxy server addresses
are specified per docker daemon or as defaults. Updated the example to
show the default option.
Fixes#4686
* Fix table layout of proxy environment variables
Problem description
Docker CLI fails to parse its config.json if it contains a proxy configuration object based on the format shown in the documentation:
Problem location
https://docs.docker.com/engine/userguide/networking/#use-a-proxy-server-with-containers
Project version(s) affected
17.09.0-ce onwards (stable)
17.07.0-ce onwards (edge)
Suggestions for a fix
A suggested fix is uploaded as PR #4687.
The documented JSON proxy configuration structure does not match the implementation in docker/cli#93. The JSON strucuture requires an intermediate object named
default
in betweenproxies
and the servers. This is because, in addition to the default proxy servers, the cli implementation makes it possible to specify the proxies to use when connnecting to a specific docker daemon, e.g.The text was updated successfully, but these errors were encountered: