常用国内镜像加速配置

# 操作系统

# apk

sed -i 's/http://dl-cdn.alpinelinux.org/https://mirrors.aliyun.com/g' /etc/apk/repositories

# docker Hub

cat <<EOF >/etc/docker/daemon.json 
{
  "registry-mirrors": [
    "https://registry.docker-cn.com",
    "http://hub-mirror.c.163.com",
    "https://docker.mirrors.ustc.edu.cn"
  ]
}
EOF
1
2
3
4
5
6
7
8
9

# python pip

pip install -i http://mirrors.aliyun.com/pypi/simple

# nodejs npm

# github

上次更新: 2022/12/05, 22:29:05

Initializing...

最近更新
01
git的tag与branch 原创
05-21
02
阿里云SLS日志服务的数据脱敏及安全管理 原创
03-21
03
云平台的成本管理 原创
03-13
更多文章>
×