-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
kaniko tar image is not compatible with dive #318
Comments
Kaniko (and Crane which I've also had a problem with) do not create tars in the same format as Docker. Unfortunately my knowledge of the Docker image spec is limited. The key problem is here. Other differences relate to the layers as well. Kaniko each layer is a single .tar.gz file. No additional files. Note that crane pull has the ability to output as So far, I believe Dive needs the following changes:
I expect there will be code changes for handling the Hope this helps! |
Same situation here. I have modified by hand the archive file generated with kaniko, and after changing the "Config" attribute removing the "sha256:" prefix, adding the ".json" suffix and renaming the file, started to read that file; for the Layer files I unpacked them and I modified the manifest.json accordingly to match the filenames (removing the .gz suffix). After repacking the docker-archive again, dive tool worked perfectly. My doubt here is:
BTW, some changes in dive to support both archives would be very nice to have. |
I have this problem too. I know, I can self build |
@wagoodman what is status of this project, is it unmaintained ? thanks ( p.s. i would like to see new release also ) |
@dvonessen and @lukasmrtvy , thanks for the poke! Short answer is yes, I'll cut a release today 👍 . With regard to "is this an unmaintained project" --no, though it has fallen from a 20% project to a 2% project. I'm hoping to get more time in the near future (fingers crossed!) |
I think this you can close this issue. |
I installed release 0.11 on minimal installations from Fedora38, AlmaLinux9 and OracleLinux8 from RPM and everywhere the same answer: |
Fedora 39. For me it doesn't work regardless the way I install it. I tried RPM, brew, snap and docker - nothing works. It used to be working some time ago though (maybe a year or so). |
@wagoodman, I am fairly certain I ran |
I just updated to version 0.12.0 and it is working on my container images now. I'm guessing #500 is the reason. |
Kaniko image produced by
--no-push --destination image --tarPath image.tar
args is not compatible with dive..I am getting:
The text was updated successfully, but these errors were encountered: