Dredge is a .NET command-line tool for querying container registry HTTP APIs defined by the OCI Distribution Specification. Dredge does not modify registry content.
- Query raw JSON data for manifests, tags, repositories, and referrers.
- Inspect and retrieve OCI artifacts or check for required artifact types in CI.
- Inspect an image's configuration and operating system information.
- Browse, read, and selectively extract files from Linux images with layer provenance.
- Compare layers or files between images.
- Generate a Dockerfile from an image.
- Save image layers as a merged filesystem or as separate directories.
- Select a platform from a multi-platform image through platform resolution.
See the Dredge documentation for the complete command reference and configuration guides.
Choose one installation method.
Download from the release page. Select the executable for your operating system and architecture.
The release executable requires the .NET 10 runtime.
docker run --rm ghcr.io/mthalman/dredge --helpWhen following command examples, replace dredge with
docker run --rm ghcr.io/mthalman/dredge.
dotnet tool install -g Valleysoft.DredgeRun a read-only command against a public image:
dredge manifest digest alpine:latest
sha256:...If the registry requires credentials, see Authenticate to a registry.
