zl程序教程

您现在的位置是:首页 >  云平台

当前栏目

[轻笔记]容器内终端使用代理(about apollo)

代理笔记容器 终端 about Apollo 使用
2023-09-27 14:21:00 时间

参照 Linux 让终端走代理的几种方法
Keagan

export http_proxy=http://proxyAddress:port
export https_proxy=http://proxyAddress:port

例如proxyAddress为127.0.0.1,port为1234

可以在容器内终端执行以下命令:

export http_proxy=http://127.0.0.1:1234
export https_proxy=http://127.0.0.1:1234