Skip to content
mthalmanPublic

About

Dredge: A Container Registry Client CLI

Resources

Contributing

Stars

45 stars

Watchers

1 watching

Forks

Latest commit

 

History

360 Commits

Folders and files

Repository files navigation

Dredge

Dredge

Dredge is a .NET command-line tool for exploring container images and interacting with container registries through the HTTP APIs defined by the OCI Distribution Specification.

Explore images in your terminal

See what is inside an image, which layer put it there, and where space is wasted. Dredge's full-screen explorer brings layers, files, packages, and comparisons together in one keyboard- and mouse-driven view.

Dredge exploring an ASP.NET image, with layers on the left and the selected layer's file tree on the right

dredge image explore mcr.microsoft.com/dotnet/aspnet:10.0
  • Follow changes through layers. Browse each layer or the cumulative filesystem, search paths, and inspect file history with text previews and diffs.
  • Find wasted space. Use efficiency insights to locate files replaced or deleted by later layers but still shipped in the image.
  • Compare images and packages. Compare another tag's filesystem and package inventory, then drill into changed files.

See the explorer guide.

Features

See the Dredge documentation for the complete command reference and configuration guides.

Install Dredge

Choose one installation method.

Release executable

Download from the release page. Select the executable for your operating system and architecture.

The release executable requires the .NET 10 runtime.

Container

docker run --rm ghcr.io/mthalman/dredge --help

When following command examples, replace dredge with docker run --rm ghcr.io/mthalman/dredge. Add -it to docker run when using the interactive explorer.

.NET global tool

Install the .NET 10 SDK before installing or updating the tool.

dotnet tool install -g Valleysoft.Dredge

Query a registry

Query the manifest digest of a public image:

dredge manifest digest alpine:latest
sha256:...

If the registry requires credentials, see Authenticate to a registry.

About

Dredge: A Container Registry Client CLI

Resources

Contributing

Stars

45 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages