cli icon indicating copy to clipboard operation
cli copied to clipboard

"no-proxy" settings Arrays not supported

Open 1trapbox opened this issue 2 years ago • 0 comments

Description

In the daemon.json config file. "no-proxy" does not support [] arrays. without proxying for multiple domain names, the configuration content will not look pretty if there is no array.

Demo configuration content

    "proxies": {
        "http-proxy": "http://127.0.0.1:10809",
        "https-proxy": "http://127.0.0.1:10809",
        "no-proxy": [
            "127.0.0.0/8",
            "xxx.mirror.aliyuncs.com",
            "docker.m.daocloud.io",
            "docker.nju.edu.cn",
            "docker.mirrors.sjtug.sjtu.edu.cn"
        ]
    }

1trapbox avatar Jan 09 '24 02:01 1trapbox