This commit is contained in:
Luk Lu
2022-06-07 22:30:53 +08:00
parent 990219a56e
commit dcce6fcb39
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# https://docs.docker.com/engine/install/debian/
read -p "Choose docker source (a: 阿里云, z: 中科大) >> " DOCKER_SOURCE
read -p "Choose docker source (a: 阿里云, z: 中科大, leave blank for default) >> " DOCKER_SOURCE
if [ $DOCKER_SOURCE = 'a' ]
then
GPG_URL=http://mirrors.aliyun.com/docker-ce/linux/debian/gpg
@@ -54,4 +54,4 @@ then
echo " \"$DOCKER_MIRROR\"" | sudo tee -a /etc/docker/daemon.json > /dev/null
echo " ]" | sudo tee -a /etc/docker/daemon.json > /dev/null
echo "}" | sudo tee -a /etc/docker/daemon.json > /dev/null
fi
fi