小🐱 = 小写p开头的英文
大🐱 = 大写p开头的英文
🐱端口 = 七八九零
注:系统层面的🐱无法影响到docker pull image。
>>> sudo mkdir -p /etc/systemd/system/docker.service.d
>>> sudo vim /etc/systemd/system/docker.service.d/小🐱.conf
[Service]
Environment="HTTP_大🐱=http://127.0.0.1:🐱端口/"
Environment="HTTPS_大🐱=http://127.0.0.1:🐱端口/"
Environment="NO_大🐱=localhost,127.0.0.1,.example.com"
>>> sudo systemctl daemon-reload
>>> sudo systemctl restart docker