Using actions - is ghcr.io suppose to be faster than docker.io #27080
-
I’m trying to cut down the build/test time in a python based container. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 1 reply
-
I can’t recall where I read it, but someone said that the servers for GitHub Actions and GitHub Packages would be in the different data centers. That would explain why GHCR isn’t faster in workflow runs. It might not be a local data transfer at all, and Docker might happen to be closer to the servers that run the workflows or just be a tad faster or have more bandwidth alotted. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the response. Separate data centers is the only situation that makes sense of the telemetry I’ve received. I have not tried to measure the network latency between ghrc and actions but whatever the case - I lost a bit of time porting over and reverting back to dockerhub along with the 2 months of dead silence from this community - lost me as an adopter. |
Beta Was this translation helpful? Give feedback.
-
GHCR still has benefits over Dockerhub, mainly images not expiring and no hard pull limits. But images not being hosted near where actions run is still a bit odd. I believe there was a mention of more caching options. Could be years away, however. |
Beta Was this translation helpful? Give feedback.
-
I’m a long way off of tripping hard pull limits although I’ll keep ghrc in mind as a mirror in the event I get popular. |
Beta Was this translation helpful? Give feedback.
-
Thai Pangsakulyanont reported improved performance building and pushing to GHCR. |
Beta Was this translation helpful? Give feedback.
-
I've been sitting here waiting over an hour and it's not even half way downloaded I would say run for the hills, do not use, you will retire before it downloads. |
Beta Was this translation helpful? Give feedback.
-
Painfully slow pulling images from ghcr.io here in Australia, pulling a 5GB layer takes over an hour on a 1Gbit link! |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Any solution for that ?? |
Beta Was this translation helpful? Give feedback.
-
yep, also an issue in Serbia. Not that 800MB is one hour long, but it definitely is longer than expected. Running a gigabit network and can only pull ~60Mbps. |
Beta Was this translation helpful? Give feedback.
-
I'm also in Australia an ghcr.io is so ridiculously slow. 🐌 Running this command for an 8GB image: In a quality datacenter, with a gigabit fiber link, it looks like it will take around 4 hours to download. Around 10mbits per second. |
Beta Was this translation helpful? Give feedback.
I can’t recall where I read it, but someone said that the servers for GitHub Actions and GitHub Packages would be in the different data centers. That would explain why GHCR isn’t faster in workflow runs. It might not be a local data transfer at all, and Docker might happen to be closer to the servers that run the workflows or just be a tad faster or have more bandwidth alotted.