-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
podman build fails: Unable to copy tar file from request body #11482
Comments
@roy-work thanks for reporting this, similar issue is being tracked here containers/buildah#2850, do you think issue is duplicate ? If yes I'd suggested to lookout for updates on original issue as i am just picking it up. Edit: RootCause of this is not same as containers/buildah#2850. |
I have similar issue although I have different scenario:
Please ignore the above, I have solved itI was using old docker client image in |
Are we good to go with 3.4? |
A friendly reminder that this issue had no activity for 30 days. |
I believe this is fixed in the current release, reopen if I am mistaken. |
I am using Podman 3.4.4 with Docker 18.09.5 in a container and get:
Updating to Docker 20.10.12 makes the build succeed. Will the problem be fixed in a future Podman release or is the solution to this issue to update the Docker client to one that uses API v1.40? |
Description
Running
podman build ../../.. -f local.Dockerfile
on a Dockerfile we have causespodman
to hang for ~12 minutes before finally failing with:Steps to reproduce the issue:
podman build ../../.. -f local.Dockerfile
Describe the results you received:
The above error.
Describe the results you expected:
A build Docker image.
Output of
rpm -q buildah
orapt list buildah
:This is on macOS?
Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:macOS Big Sur Version 11.4; on an Intel.
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:Other information
I'm not able to share
local.Dockerfile
, unfortunately, as it is proprietary. I suspect the issue here is that the context is … large. We normally build with BuildKit, which will only transmit the portions of the context necessary for the actual build, and that's much more manageable in our case. Before any.dockerignore
, the context is ~81 GiB, although at least ~13 GiB should be covered under ignores.Subsequent runs of
podman build
resulted in,So it seems like it didn't even clean up after failing. (That appears to be the VM's device, not the hosts.)
Reset the VM from scratch. Shrunk my context to ~38 GiB before ignores (so ~25 GiB?),
we'll see if that works(it did not work), but I'm not hopeful, since I think the VM is by default only 10 GiB? Going to probably need to figure out how to increase it's size…The text was updated successfully, but these errors were encountered: