Update pi.sh

This commit is contained in:
悟空的日常镜像仓库 2024-06-30 17:13:19 +08:00
parent 6e1a0f25c9
commit beeb24f05e
1 changed files with 1 additions and 6 deletions

View File

@ -251,12 +251,7 @@ install_1panel_on_linux() {
if command -v 1pctl &>/dev/null; then if command -v 1pctl &>/dev/null; then
echo '{ echo '{
"registry-mirrors": [ "registry-mirrors": [
"https://docker.mirrors.ustc.edu.cn", "https://docker.1panel.live"
"https://hub-mirror.c.163.com",
"https://docker.m.daocloud.io",
"https://ghcr.io",
"https://mirror.baidubce.com",
"https://docker.nju.edu.cn"
] ]
}' | sudo tee /etc/docker/daemon.json >/dev/null }' | sudo tee /etc/docker/daemon.json >/dev/null
sudo /etc/init.d/docker restart sudo /etc/init.d/docker restart