Skip to content

Commit 2713d0b

Browse files
committed
docs: fix example for proxies in daemon.json
commit c846428 added proxies to the example `daemon.json`, based on the implementation that was added in moby/moby@427c7cc. However, a follow-up pull request changed the proxy-configuration in`daemon.json` to nest the configuration in a "proxies" struct, and the documentation was not updated accordingly; see: moby/moby@101dafd This patch fixes the example. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 6f8704c commit 2713d0b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/reference/commandline/dockerd.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,9 +1252,11 @@ This is a full example of the allowed configuration options on Linux:
12521252
"fixed-cidr-v6": "",
12531253
"group": "",
12541254
"hosts": [],
1255-
"http-proxy": "http://proxy.example.com:80",
1256-
"https-proxy": "https://proxy.example.com:443",
1257-
"no-proxy": "*.test.example.com,.example.org",
1255+
"proxies": {
1256+
"http-proxy": "http://proxy.example.com:80",
1257+
"https-proxy": "https://proxy.example.com:443",
1258+
"no-proxy": "*.test.example.com,.example.org",
1259+
},
12581260
"icc": false,
12591261
"init": false,
12601262
"init-path": "/usr/libexec/docker-init",

0 commit comments

Comments
 (0)