一. 问题
在按照 Docker Standalone | SigNoz 中的说明安装SigNoz之时出现下面的输出:
$ ./install.sh
👋 Thank you for trying out SigNoz!
🟡 Running installer with non-sudo permissions.
In case of any failure or prompt, please consider running the script with sudo privileges.
🌏 Detecting your OS ...
🙇 We will need sudo access to complete the installation.
Please enter your sudo password, if prompted.
Got it! Thanks!! 🙏
Okay! We will bring up the SigNoz cluster from here 🚀
++++++++++++++++++++++++
Setting up docker repos
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://mirrors.163.com/ubuntu noble InRelease
Hit:3 http://mirrors.163.com/ubuntu noble-updates InRelease
Hit:4 http://mirrors.163.com/ubuntu noble-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version (0.99.48).
gnupg-agent is already the newest version (2.4.4-2ubuntu17).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
curl: (28) Failed to connect to download.docker.com port 443 after 135963 ms: Couldn't connect to server
gpg: no valid OpenPGP data found.
🔴 The containers didn't seem to start correctly. Please run the following command to check containers that may have errored out:
sudo docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml ps -a
Please read our troubleshooting guide https://signoz.io/docs/install/troubleshooting/
or reach us for support in #help channel in our Slack Community https://signoz.io/slack
++++++++++++++++++++++++++++++++++++++++
📨 Please share your email to receive support with the installation
Email:
重点:
curl: (28) Failed to connect to download.docker.com port 443 after 135963 ms: Couldn't connect to server
二. 解决步骤
第一步
打开 install.sh 文件,修改
curl -fsSL "https://download.docker.com/linux/$os/gpg" | $sudo_cmd apt-key add -
为
curl -fsSL "https://mirrors.163.com/docker-ce/linux/$os/gpg" | $sudo_cmd apt-key add -
这样就用网易镜像替代官网了。
接着尝试安装:
$ ./install.sh
👋 Thank you for trying out Sig

最低0.47元/天 解锁文章
2745






