Update pi.sh
This commit is contained in:
parent
6e1a0f25c9
commit
beeb24f05e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue