JeeGit 官方论坛

找回密码
立即注册
搜索
热搜: 活动 交友 discuz
发新帖

1

收听

0

听众

195

主题
发表于 2024-3-1 10:58:40 | 查看: 296| 回复: 4

该文章好用:https://www.moluyao.wang/13480.html


[Service]
Environment="HTTP_PROXY=http://101.42.1.98:3128"
Environment="HTTP_PROXY=http://101.42.1.98:3128"
Environment="HTTPS_PROXY=http://101.42.1.98:3128"
Environment="NO_PROXY=localhost,101.42.1.98"

curl -x http://test123:123456@101.42.1.98:3128 www.baidu.com


systemctl daemon-reload
systemctl restart docker



https://developer.aliyun.com/article/1328022


代理服务器
https://blog.csdn.net/chenbin666/article/details/87919179



wget -T 30 --tries 3 http://192.168.20.222:3128


http_proxy=http://192.168.20.222:3128
https_proxy=http://192.168.20.222:3128
use_proxy = on
wait = 30
https://blog.csdn.net/u013195275/article/details/102736398



export http_proxy=http://192.168.1.15:3128
export https_proxy=http://192.168.1.15:3128





export http_proxy=http://192.168.20.222:3128
export https_proxy=http://192.168.20.222:3128




vi /etc/profile

source /etc/profile


squid: 实现网络全局代理

https://www.cnblogs.com/brt2/p/14177411.html


  1. export all_proxy="http://192.168.0.191:3128"
  2. export proxy="http://192.168.0.191:3128"
  3. export http_proxy="http://192.168.0.191:3128"
  4. export https_proxy="http://192.168.0.191:3128"
  5. export ftp_proxy="http://192.168.0.191:3128"
复制代码

http://192.168.20.222:3128

Docker 网络代理服务器 squid



[Service]
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTPS_PROXY=http://192.168.20.222:3128"
Environment="NO_PROXY=docker.io,quay.io,192.168.20.222"
https://developer.aliyun.com/article/441129


/usr/lib/systemd/system/docker.service

发表于 2024-3-1 15:13:05
https://blog.csdn.net/weixin_55609833/article/details/118514713

  1. https://blog.csdn.net/weixin_55609833/article/details/118514713
复制代码

回复 显示全部楼层 道具 举报

发表于 2024-3-1 16:03:20

回复 显示全部楼层 道具 举报

发表于 2024-3-2 14:13:17
该文章好用:https://www.moluyao.wang/13480.html



all_proxy=http://101.42.1.98:3128
proxy=http://101.42.1.98:3128
http_proxy=http://101.42.1.98:3128
https_proxy=http://101.42.1.98:3128



export all_proxy="http://192.168.20.222:3128"
export proxy="http://192.168.20.222:3128"
export http_proxy="http://192.168.20.222:3128"
export https_proxy="http://192.168.20.222:3128"
export ftp_proxy=""

[Service]
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTPS_PROXY=http://192.168.20.222:3128"
Environment="NO_PROXY=docker.io,quay.io,192.168.20.222"


[Service]
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTP_PROXY=http://192.168.20.222:3128"
Environment="HTTPS_PROXY=http://192.168.20.222:3128"
Environment="NO_PROXY=localhost,192.168.20.222"


回复 显示全部楼层 道具 举报

发表于 2024-3-2 14:59:01
systemctl daemon-reload
systemctl restart docker

回复 显示全部楼层 道具 举报

您需要登录后才可以回帖 登录 | 立即注册

QQ|Archiver|手机版|小黑屋|JeeGit 官方论坛 ( 吉ICP备19001578号-2|吉B2-20200006 )

GMT+8, 2024-5-20 06:06 , Processed in 0.041394 second(s), 19 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表