-
-
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
Cannot find 'blobs/sha256/...' in parsed layers using dive 0.12.0 #507
Comments
Ultimately, instead of guessing at layer encodings like dive/dive/image/docker/image_archive.go Line 52 in 925cdd8
If we added a quick pass over the archive files to first check if it contains an |
Unless you give it a TAR file, the TAR is directly streamed from the Docker daemon, so doing a 2-pass parsing would mean storing it in a temporary location (and risking filling up the disk/partition) |
I encountered a similar issue. I use docker containerd image storage and zstd OCI image. When I build image locally on macOS, dive reports:
When pulling a docker image from the registry, dive reports:
docker info:
|
Same issue with latest Docker Desktop on MacOS:
#511 fixed it for me as well. |
Could we please merge #511 and publish a new version?
Alternatively, you might want to mark your repository as osslifecycle=maintenance. Yes, this is open source and your free time. Thanks for getting |
Fixes wagoodman#507 Fixes wagoodman#510 Fixes wagoodman#526 Fixes wagoodman#534 Co-authored-by: Maddog2050 <17902029+Maddog2050@users.noreply.github.com>
Fixes wagoodman#507 Fixes wagoodman#510 Fixes wagoodman#526 Fixes wagoodman#534 Co-authored-by: Maddog2050 <17902029+Maddog2050@users.noreply.github.com>
Fixes wagoodman#507 Fixes wagoodman#510 Fixes wagoodman#526 Fixes wagoodman#534 Co-authored-by: Maddog2050 <17902029+Maddog2050@users.noreply.github.com>
What happened:
I'm still seeing this OCI layout error with dive that #500 was supposed to fix.
What you expected to happen:
dive should be able to handle these OCI layout images in v0.12.0+
How to reproduce it (as minimally and precisely as possible):
Here is the source dockerfile, but I've attached a prebuilt image in case.
gunzip image.tar.gz
dive --source docker-archive image.tar
tar xf image.tar -C image
docker load < image.tar
dive tar.dive.example.com/image:latest
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: