Automic VaultAutomic Vault

brew

Install dockerfilegraph with Homebrew

Visualize your multi-stage Dockerfiles. Version 0.21.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dockerfilegraph

local Homebrew formula metadata

overview

Package summary

Visualize your multi-stage Dockerfiles

Commands and aliases

  • dockerfilegraph

history

Project history and usage

dockerfilegraph is a Go CLI that turns multi-stage Dockerfiles into Graphviz dependency diagrams.

Project history

Patrick Hoefler's repository was created in February 2021 and released v0.1.0 the same day. The README frames the tool around a common Docker build problem: multi-stage Dockerfiles become hard to reason about once stages, external images, `COPY --from`, and mount-based dependencies accumulate.

The project continued to receive regular releases through the 0.21.x line by March 2026. Its output model matured around build-stage nodes, highlighted default targets, external-image nodes, and edge styles for `FROM`, `COPY --from`, and `RUN --mount ... from=` dependencies.

Adoption history

dockerfilegraph remains a specialist visualization tool rather than a default Docker workflow. Its install paths still matter to package users: the README documents Docker/ghcr usage, Homebrew installation from the author's tap, mise installation from GitHub, and source builds.

The Homebrew formula API reported stable version 0.21.0, 16 installs in the previous 30 days, and 477 installs in the previous year as of June 30, 2026. That is modest adoption, but credible for a focused Dockerfile architecture/debugging utility.

How it is used

Running `dockerfilegraph` in a project directory generates a graph for `Dockerfile`, with output formats including PDF, SVG, and PNG. Flags support legends, layer display, target filtering, scratch-image handling, separated external-image nodes, and Graphviz layout tuning.

Why package nerds care

The package is notable because it externalizes Docker build structure into ordinary graph artifacts. It is the kind of CLI package maintainers like: a single executable plus Graphviz turns opaque build-stage relationships into inspectable files for reviews, docs, and debugging.

Timeline

  • 2021: Repository created and v0.1.0 released.
  • 2025: 0.19.x releases show continuing maintenance.
  • 2026: v0.21.0 released and Homebrew formula reports stable 0.21.0.

Related projects

  • dockerfilegraph depends conceptually on Docker multi-stage builds and uses Graphviz for graph rendering.
  • It overlaps with documentation and build-debugging workflows rather than with Docker runtime management tools.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dockerfilegraphcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-10
manager version0.21.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.21.0

https://github.com/patrickhoefler/dockerfilegraph

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dockerfilegraph
Version0.21.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dockerfilegraph
Homepagehttps://github.com/patrickhoefler/dockerfilegraph
Repositoryhttps://github.com/patrickhoefler/dockerfilegraph
Upstream docshttps://github.com/patrickhoefler/dockerfilegraph#readme
LicenseMIT
Source archivehttps://github.com/patrickhoefler/dockerfilegraph/archive/refs/tags/v0.21.0.tar.gz
Dependenciesgraphviz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedockerfilegraph
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment