cloudflare / serverless-registry

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

Can not push relatively large images like nvidia/cuda:runtime. Got HTTP 413 too large error #67

Closed Code2Life closed 1 month ago

Code2Life commented 1 month ago

Image registry needs to support layers that relatively large, especially for AI related images, the basic runtime is more than GBs.

The push refers to repository [***/***]
3416903c2cc4: Pushed 
83687aeafbbf: Pushed 
83ecbf43a888: Pushed 
b15b1df4adac: Pushing [==================================================>]  2.006GB
bea30ebbe843: Pushed 
8afeff4e91d7: Pushed 
6ec2b659c9ab: Pushed 
566cd9dd29d6: Pushed 
256d88da4185: Pushed 

error parsing HTTP 413 response body: invalid character '<' looking for beginning of value: "<html>\r\n<head><title>413 Request Entity Too Large</title></head>\r\n<body>\r\n<center><h1>413 Request Entity Too Large</h1></center>\r\n<hr><center>cloudflare</center>\r\n</body>\r\n</html>\r\n"
theoriginalgri commented 1 month ago

It looks like you're using docker push.

You'll need the push tool mentioned at https://github.com/cloudflare/serverless-registry?tab=readme-ov-file#known-limitations to upload larger images. See https://github.com/cloudflare/serverless-registry/tree/main/push.

Code2Life commented 1 month ago

thank you