You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying a private registry locally on a NAS, one common usage scenario is to penetrate through the cloudflare tunnel intranet to the local registry ip address.
However, uploading images at this time is subject to cloudflare's >100M file error, and cloudflare they do allow chunked upload settings on the request side.
I'm just wondering if in the future podman will add a similar setting to facilitate local deployment of private registries?
I don't think it makes sense to expose such options on a cli level? Which user would actually know what the correct values for a given registry are and then if they really know these values then I think they would rather set this in a config file once and not for every single push to the registry.
But the better question is does the registry behind the proxy even support uploading files in chunks? I have no idea what the registry spec says on these things and how the real world registries behave.
cc @mtrmac
Theoretically, support for chunked uploads exists in the protocol, but IIRC Docker never uses it, and historically it outright didn’t work against the primary registry implementation.
Compare various data points in earlier containers/image#1869 , including the somewhat surprising report that Docker was let through, suggesting that this might be a proxy configuration specifically looking for Docker — i.e. something that should be fixed in the proxy without forcing every user to add an option.
suggesting that this might be a proxy configuration specifically looking for Docker — i.e. something that should be fixed in the proxy without forcing every user to add an option.
I've been looking for options, and you're right, this really shouldn't be left up to the registry, it adds unnecessary burden to the registry. I figured this out and I will close this request
Feature request description
When deploying a private registry locally on a NAS, one common usage scenario is to penetrate through the cloudflare tunnel intranet to the local registry ip address.
However, uploading images at this time is subject to cloudflare's >100M file error, and cloudflare they do allow chunked upload settings on the request side.
I'm just wondering if in the future podman will add a similar setting to facilitate local deployment of private registries?
Suggest potential solution
Change the chunk size via a parameter, for example
--chunk-size
:Have you considered any alternatives?
I'm not quite sure if it's technically or security-wise possible to implement it this way
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: