Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install.sh (add TencentCloud download url) #408

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ set -e
# Alternatively, use the script at https://test.docker.com, which uses the test
# channel as default.
#
# --mirror <Aliyun|AzureChinaCloud>
# --mirror <Aliyun|AzureChinaCloud|TencentCloud>
#
# Use the --mirror option to install from a mirror supported by this script.
# Available mirrors are "Aliyun" (https://mirrors.aliyun.com/docker-ce), and
# "AzureChinaCloud" (https://mirror.azure.cn/docker-ce), for example:
# Available mirrors are "Aliyun" (https://mirrors.aliyun.com/docker-ce),
# "AzureChinaCloud" (https://mirror.azure.cn/docker-ce), and "TencentCloud"(https://mirrors.cloud.tencent.com)(for example:
#
# $ sudo sh install-docker.sh --mirror AzureChinaCloud
#
Expand Down Expand Up @@ -138,10 +138,13 @@ case "$mirror" in
AzureChinaCloud)
DOWNLOAD_URL="https://mirror.azure.cn/docker-ce"
;;
TencentCloud)
DOWNLOAD_URL="https://mirrors.cloud.tencent.com/docker-ce"
;;
"")
;;
*)
>&2 echo "unknown mirror '$mirror': use either 'Aliyun', or 'AzureChinaCloud'."
>&2 echo "unknown mirror '$mirror': use either 'Aliyun', 'AzureChinaCloud', or 'TencentCloud'."
exit 1
;;
esac
Expand Down