常用国内镜像加速配置
# 操作系统
# 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
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