常用代理设置和换源方案
docker docker build pip git等常用应用设置镜像源或者代理记录
docker设置国内源
nano /etc/docker/daemon.json
添加以下内容
1 | |
pip
临时使用清华源
pip install evalscope -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple some-package
pip设置代理
1 | |
git设置代理
1 | |
终端临时设置代理
1 | |
docker docker build pip git等常用应用设置镜像源或者代理记录
nano /etc/docker/daemon.json
添加以下内容
1 | |
临时使用清华源
pip install evalscope -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple some-package
pip设置代理
1 | |
1 | |
1 | |