更新镜像源

This commit is contained in:
lsy 2024-07-24 13:25:35 +08:00
parent 635d49195f
commit 77293600db
3 changed files with 7 additions and 3 deletions

View File

@ -31,7 +31,9 @@ if [[ $pick == '1' ]];then
declare -A img_dick
declare -a img_number
declare img_pick=0
img_dick['中国科技技术大学(默认)']='https://docker.mirrors.ustc.edu.cn/'
img_dick['中国科技技术大学(默认)']='https://docker.mirrors.ustc.edu.cn'
img_dick['阿里云']='https://registry.cn-hangzhou.aliyuncs.com'
img_dick['网易云']='http://hub-mirror.c.163.com'
for i in "${!img_dick[@]}";
do

View File

@ -48,6 +48,8 @@ if [[ ! $pick_docker =~ [Nn] ]];then
docker_imgs['中国科技大学(默认)']='https://mirrors.ustc.edu.cn/docker-ce'
docker_imgs['清华大学']='https://mirrors.tuna.tsinghua.edu.cn/docker-ce'
docker_imgs['阿里云']='https://mirrors.aliyun.com/docker-ce'
docker_imgs['网易云']='https://mirrors.163.com/docker-ce'
declare -a docker_img_number
declare docker_img_number_pick=0

View File

@ -14,7 +14,7 @@ declare -A sources_dick
sources_dick['中国科技技术大学(默认)']='http://mirrors.ustc.edu.cn'
sources_dick['清华大学']='https://mirrors.tuna.tsinghua.edu.cn'
sources_dick['阿里云']='https://mirrors.aliyun.com'
sources_dick['网易云']='https://mirrors.163.com'
declare -a pcik_array
declare pick=0