Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"no-proxy" settings Arrays not supported #4762

Open
1trapbox opened this issue Jan 9, 2024 · 0 comments
Open

"no-proxy" settings Arrays not supported #4762

1trapbox opened this issue Jan 9, 2024 · 0 comments

Comments

@1trapbox
Copy link

1trapbox commented Jan 9, 2024

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"
        ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant