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
I am encountering an "invalid tar header" error when attempting to push a valid Docker image tarball to a container registry using Crane. The source tarball is confirmed to be valid and follows the Docker image archive format, but the issue persists. I have reviewed the code, configuration, and environment without resolution, indicating a potential problem with how Crane is handling the tarball.
To Reproduce
Expected behavior
Additional context
Add any other context about the problem here.
Output of crane version
Registry used (e.g., GCR, ECR, Quay)
The text was updated successfully, but these errors were encountered:
Without an example of the valid Docker image tarball that's getting the error, I don't see how this could be investigated by anyone else. Have you got a minimal example?
I ran into the same error message, but for a gzipped image. docker load happily loads a gzipped image, but crane requires the tar format. I was wondering whether to do a PR to add support for gzipped output, since that's what's created by the Nix ecosystem's Docker tools.
I was wondering whether to do a PR to add support for gzipped output, since that's what's created by the Nix ecosystem's Docker tools.
I just ran into this precisely. Adding support for gzipped image tarballs would solve for at least one scenario that currently results in this error message.
in linux, i use crane pull command to pull a image to the *.tar file. then i use crane push command to push the tarball to registry and it is succeed.
but when i use windows to pull the image from registry, the containerd throw a exception: archive/tar: invalid tar header: unknown
is the bug for crane push or crane pull or the tarball file?
Describe the bug
I am encountering an "invalid tar header" error when attempting to push a valid Docker image tarball to a container registry using Crane. The source tarball is confirmed to be valid and follows the Docker image archive format, but the issue persists. I have reviewed the code, configuration, and environment without resolution, indicating a potential problem with how Crane is handling the tarball.
To Reproduce
Expected behavior
Additional context
Add any other context about the problem here.
crane version
The text was updated successfully, but these errors were encountered: