docker 配置 socket 代理
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