cloudflare / serverless-registry

A container registry backed by Workers and R2.
Apache License 2.0
959 stars 32 forks source link

Unable to Pull Large Docker Image on RunPod Cloud Platform: HTTP 206 Error #64

Open anonsaber opened 2 weeks ago

anonsaber commented 2 weeks ago

I'm experiencing an issue when trying to pull a large Docker image on the RunPod cloud platform. The operation fails with the following error message: failed to pull image: expected HTTP 206 from byte range request.

Interestingly, I'm able to pull the same image successfully using the Docker client locally. The problem seems to occur only with larger images on the cloud platform.

Steps to Reproduce:

Attempt to pull a large Docker image on the RunPod cloud platform. Observe the error message related to HTTP 206.

Expected Behavior:

The large image should be pulled successfully on the RunPod cloud platform, as it does with the Docker client locally.

Actual Behavior:

The pull operation fails with an HTTP 206 error on the cloud platform when dealing with large images.

Thank you for looking into this issue. Your assistance in resolving this would be greatly appreciated.

gabivlj commented 2 weeks ago

I will take a look as soon as I can, sounds like an interesting issue. Thanks for reporting.

gabivlj commented 2 weeks ago

I think the runtime that they have might be using ranged pulls which serverless-registry doesn't support yet. I will take a look and have an implementation tomorrow hopefully.