DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to scan images built with Podman or Buildah with Syft

Inventory a locally built image straight from containers-storage without pushing it anywhere.

Short answer: Install Syft on Linux from the release binaries, which include this feature; then run syft --from containers-storage localhost/myimage:latest for a normal store; For rootless stores run podman unshare syft --from containers-storage localhost/myimage:latest. All steps.

Who it is forA developer building images with Podman or Buildah on Linux who wants an SBOM before pushing.

The problemPlain image references never look in the local containers-storage store.

The outcomeA package list for a local image that was never published.

What you need first

  • A Linux or macOS shell with curl and sudo, or another install method from the Syft docs
  • A container image reference or a project directory to scan
  • Grype is optional, only for the vulnerability scanning step

Steps

  1. Install Syft on Linux from the release binaries, which include this feature
  2. Run syft --from containers-storage localhost/myimage:latest for a normal store
  3. For rootless stores run podman unshare syft --from containers-storage localhost/myimage:latest
  4. Add an output format flag to save an SBOM file

Prompt for your agent

With anchore/syft on Linux, run `syft --from containers-storage localhost/myimage:latest` for my local image <name> (use `podman unshare syft --from containers-storage localhost/myimage:latest` if rootless) and report the package count.

Caveat. Linux only per the README; building Syft from source needs extra build tags.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for anchore/syft and "Scan images built with Podman or Buildah"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer