Update install.sh

This commit is contained in:
Mr Chen
2024-06-28 15:39:38 +08:00
parent 6287dc523d
commit aee881b302
+21
View File
@@ -17,6 +17,27 @@ if [ -f ${rootPath}/bin/activate ];then
source ${rootPath}/bin/activate
fi
# {
# "registry-mirrors": [
# "http://hub-mirror.c.163.com",
# "https://docker.mirrors.ustc.edu.cn",
# "https://registry.docker-cn.com"
# ]
# }
# sudo mkdir -p /etc/docker
# sudo tee /etc/docker/daemon.json <<-'EOF'
# {
# "registry-mirrors": [
# "http://hub-mirror.c.163.com",
# "https://docker.mirrors.ustc.edu.cn",
# "https://registry.docker-cn.com"
# ]
# }
# EOF
# sudo systemctl daemon-reload
# sudo systemctl restart docker
Install_Docker()
{
# which docker