-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error 413 request entity too large
while pushing an image
#104
Comments
How big is the layer you're trying to copy? Do you have this image on another registry like docker hub so we can try to reproduce? |
Image information and size of each layer
the largest layer is 484MB. You can check the github action where I am running the above command over here. I also attempt to push the image to ttl.sh after, after which it fails. |
I found a related issue where the user is facing the same problem. docker/build-push-action#634 (comment)
|
Can you try this from another location? I suspect your error is coming from some kind of proxy between you and the
Here is my Dockerfile if you want to try to reproduce:
I used |
I was able to push a bigger image as well. Did you check ? #104 (comment) Can you share the url to the heroku instance where you have ttl.sh deployed ? I would like to go ahead and push there directly to bypass cloudflare. |
I am hitting this issue in a repeatable GitHub actions. Feel free to try there. |
Hi @kaovilai I spoke with @waveywaves on Kubernetes slack. I believe this because the buildx plugin is using the the push driver from containerd which apparently does not support The best workaround for now is just to use regular |
I did some testing, and it's definitely the containerd push driver that is not chunking. I can reproduce by doing
Result:
|
I submitted a PR to fix this in the upstream buildx uses: |
I am getting an error while pushing to ttl.sh,
413 request entity too large
.https://github.com/waveywaves/backstage/actions/runs/3103852916/jobs/5027642820#step:16:661
Based on the docker documentation I understand that the following configuration is necessary to get around this issue
https://docs.docker.com/registry/recipes/nginx/#setting-things-up
The text was updated successfully, but these errors were encountered: