杂七杂八

55 阅读1分钟
阿里云k8s镜像地址
registry.cn-hangzhou.aliyuncs.com/google_containers/
centos7 yum源地址
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
docker镜像配置
sudo tee /etc/docker/daemon.json <<-'EOF'  
{  
  "registry-mirrors": [  
    "https://docker.xuanyuan.me",  # 轩辕镜像(境内CDN,兰州地区推荐)  
    "https://docker.m.daocloud.io", # 国内老牌服务商  
    "https://docker.imgdb.de",     # 德国镜像站(全球化同步)  
    "https://docker-0.unsee.tech"  # 亚洲节点加速站  
  ]  
}  
EOF

sudo systemctl daemon-reload  
sudo systemctl restart docker
nodejs npm镜像配置
npm config set registry http://registry.npmmirror.com
github ip
[raw.hellogithub.com/hosts](https://link.zhihu.com/?target=http%3A//raw.hellogithub.com/hosts)