当前位置:   article > 正文

国内镜像地址 Docker、Conda、Node_docker国内镜像源

docker国内镜像源

国内主要系统、软件、开发框架镜像地址,包括 NPM、Centos、Ubuntu、Docker、PIP、Homebrew等。

Conda镜像

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/

  • 1
  • 2
  • 3
  • 4

Docker镜像地址

/etc/docker/daemon.json

{
"registry-mirrors": ["https://pyfrm5p0.mirror.aliyuncs.com"]
}
  • 1
  • 2
  • 3

Ubuntu 镜像下载地址

https://old-releases.ubuntu.com/releases
  • 1

Centos 7.9 下载地址

https://mirrors.aliyun.com/centos/7.9.2009/isos/x86_64/
  • 1

NPM 淘宝镜像地址

npm config set registry http://registry.npmmirror.com
或添加命令行参数
 npm install --registry=http://registry.npmmirror.com
  • 1
  • 2
  • 3

PIP 镜像

#阿里云镜像地址
#可以看看那个快,我这里清华的快很多。
https://pypi.tuna.tsinghua.edu.cn/simple
http://mirrors.aliyun.com/pypi/simple/
#mac 上全局设置,~/.config/pip/pip.conf 
[global]
index-url = https://mirrors.aliyun.com/pypi/simple
#命令行参数
pip install xxx -i <镜像源>
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

Homebrew

如果安装时使用镜像,可以参考说明地址 https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/

export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git"
export HOMEBREW_PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
  • 1
  • 2
  • 3
  • 4
  • 5

HuggingFace

设置环境变量

export HF_ENDPOINT=https://hf-mirror.com
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Li_阴宅/article/detail/761490
推荐阅读
相关标签
  

闽ICP备14008679号