vi ~/.docker/config.json
{ "proxies":{ "default":{ "httpProxy":"socks5h://192.168.36.106:7890", "httpsProxy":"socks5h://192.168.36.106:7890", "noProxy":"repo.openeuler.org" } } }
via:https://stackoverflow.com/questions/61590317/use-socks5-proxy-from-host-for-docker-build
标签:配置,代理,192.168,socks5h,36.106,docker,7890 From: https://www.cnblogs.com/nihaorz/p/16594664.html