更新镜像源
This commit is contained in:
parent
635d49195f
commit
77293600db
@ -31,7 +31,9 @@ if [[ $pick == '1' ]];then
|
|||||||
declare -A img_dick
|
declare -A img_dick
|
||||||
declare -a img_number
|
declare -a img_number
|
||||||
declare img_pick=0
|
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[@]}";
|
for i in "${!img_dick[@]}";
|
||||||
do
|
do
|
||||||
|
@ -48,6 +48,8 @@ if [[ ! $pick_docker =~ [Nn] ]];then
|
|||||||
docker_imgs['中国科技大学(默认)']='https://mirrors.ustc.edu.cn/docker-ce'
|
docker_imgs['中国科技大学(默认)']='https://mirrors.ustc.edu.cn/docker-ce'
|
||||||
docker_imgs['清华大学']='https://mirrors.tuna.tsinghua.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.aliyun.com/docker-ce'
|
||||||
|
docker_imgs['网易云']='https://mirrors.163.com/docker-ce'
|
||||||
|
|
||||||
|
|
||||||
declare -a docker_img_number
|
declare -a docker_img_number
|
||||||
declare docker_img_number_pick=0
|
declare docker_img_number_pick=0
|
||||||
|
@ -14,7 +14,7 @@ declare -A sources_dick
|
|||||||
sources_dick['中国科技技术大学(默认)']='http://mirrors.ustc.edu.cn'
|
sources_dick['中国科技技术大学(默认)']='http://mirrors.ustc.edu.cn'
|
||||||
sources_dick['清华大学']='https://mirrors.tuna.tsinghua.edu.cn'
|
sources_dick['清华大学']='https://mirrors.tuna.tsinghua.edu.cn'
|
||||||
sources_dick['阿里云']='https://mirrors.aliyun.com'
|
sources_dick['阿里云']='https://mirrors.aliyun.com'
|
||||||
|
sources_dick['网易云']='https://mirrors.163.com'
|
||||||
|
|
||||||
declare -a pcik_array
|
declare -a pcik_array
|
||||||
declare pick=0
|
declare pick=0
|
||||||
|
Loading…
Reference in New Issue
Block a user