Skip to content

Instantly share code, notes, and snippets.

View vazmin's full-sized avatar

zhiming vazmin

View GitHub Profile
@vazmin
vazmin / history.md
Last active April 28, 2021 15:06
docker proxy
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo vi /etc/systemd/system/docker.service.d/proxy.conf

[Service]
Environment="HTTP_PROXY=http://myproxy.hostname:8080"
Environment="HTTPS_PROXY=https://myproxy.hostname:8080/"