jsdelivr / globalping-probe

The globalping probe code that runs on your hardware and connects to the global community network of probes
https://www.jsdelivr.com/globalping
79 stars 21 forks source link

Reduce container size further or add a China proxy #30

Closed jimaek closed 1 year ago

jimaek commented 2 years ago

Pulling our container from China was a pain, its super slow. I think there must be ways to reduce the size of our main container even further. If anyone has any ideas lets discuss them.

ayuhito commented 2 years ago

https://dockersl.im does seem like an ideal way to optimise the container image more. I might experiment with it to see the difference later.

jimaek commented 2 years ago

I've tried it but it wasn't very helpful. Too difficult to automate, too risky as we could break stuff and not notice it and the manual savings were minimal. But I've also not seen a single Chinese proxy of the Github docker registry.

cherinyy commented 10 months ago

Nanjing University provides a cache for the GitHub Container registry.

docker run -d --log-driver local --network host --restart=always --name globalping-probe ghcr.nju.edu.cn/jsdelivr/globalping-probe
jimaek commented 10 months ago

Thank you, I opened a task to look into it