Skip to content
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

Add support for containers-storage backend for container images #2107

Closed
hkadakia opened this issue Sep 7, 2023 · 2 comments
Closed

Add support for containers-storage backend for container images #2107

hkadakia opened this issue Sep 7, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@hkadakia
Copy link

hkadakia commented Sep 7, 2023

What would you like to be added:
Support for source path containers-storage when looking for container images.

Why is this needed:
We build some of our container images using buildah. Buildah by default puts these locally built container images in containers-storage location. Syft currently does not look for images in that location & hence miss scanning of those images built locally.

A current workaround we are using for syft to locate those images is skopeo copy containers-storage:localhost/test-image:latest docker-archive:/tmp/test-image.tar:test-image:latest. This still has a problem of being lossy and we might land up not having the correct layer info.

Additional context:

@hkadakia hkadakia added the enhancement New feature or request label Sep 7, 2023
@tgerla
Copy link
Contributor

tgerla commented Dec 7, 2023

Related to anchore/stereoscope#197

@wagoodman wagoodman changed the title Images built using buildah are not scanned by syft Add support for containers-storage backend for container images Dec 7, 2023
@tgerla
Copy link
Contributor

tgerla commented Dec 7, 2023

The work here will be done in Stereoscope and no work will be needed in Syft, so we'll close this one as a duplicate and all work here will be tracked in the Stereoscope issue.

@tgerla tgerla closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@github-project-automation github-project-automation bot moved this to Done in OSS Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants