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

How to list every package inside a container image with Syft

Point Syft at an image and see all the packages it contains in one command.

Short answer: Install Syft with curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin; then run syft alpine:latest, replacing alpine:latest with your own image reference; read the package list that Syft prints. All steps.

  • Top pick
  • Security and science
  • Beginner
  • 15 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

system. The install command runs a downloaded script with sudo; read it first or use another method from the Syft installation docs.

Who it is forA platform engineer who wants to know what actually ships inside an image before deploying it.

The problemImages pull in OS and language packages that nobody wrote down.

The outcomeA readable list of the packages found in the image.

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 with curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin
  2. Run syft alpine:latest, replacing alpine:latest with your own image reference
  3. Read the package list that Syft prints
  4. Run syft ./my-project on a directory to inventory a project the same way

Prompt for your agent

Using anchore/syft, install it with `curl -sSfL https://get.anchore.io/syft | sudo sh -s -- -b /usr/local/bin`, run `syft alpine:latest` against <my image>, and summarise the packages by ecosystem.

Caveat. Syft inventories packages; for vulnerabilities the README points to a scanner like Grype.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for anchore/syft and "List every package inside a container image"

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