macOS
brew install docker-genlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für docker-gen in AI-Agent-Workflows.
Installation
brew install docker-genlocal Homebrew formula metadata
Überblick
Generate files from docker container metadata
Verlauf
docker-gen is a Docker metadata templating tool. It watches containers and renders Go templates into configuration files, commonly for reverse proxies, logging, log rotation, and service-discovery glue.
The upstream README defines docker-gen as a file generator that renders templates using Docker container metadata. It documents early Docker-era use cases such as nginx and haproxy reverse-proxy config generation, fluentd and logstash logging files, logrotate files, and service-discovery scripts.
The tag history starts in May 2014 with 0.1.0 and continues into current nginx-proxy maintenance. The project evolved around the Docker event stream: it can render once, watch for container starts and stops, filter containers and events, send signals or restart commands after regeneration, and run either on the host, bundled inside another container, or as a separate companion container.
docker-gen is best known through the nginx-proxy ecosystem. The README names nginx-proxy/nginx-proxy as a trusted-build example of running docker-gen alongside nginx, and the current repository lives under the nginx-proxy organization. Its adoption followed a common Docker pattern: containers advertise intent through metadata or environment variables, and a sidecar regenerates host or proxy configuration.
Users provide a Go text/template file and an optional destination path. docker-gen reads Docker metadata, renders the template, and can watch for container events to regenerate output and notify a service with a signal or command. It also supports config files with multiple template directives and Docker connection settings through flags or Docker environment variables.
docker-gen matters because it captures a pre-orchestrator, Docker-native automation style: dynamic infrastructure from container metadata before Compose, Kubernetes ingress controllers, and service meshes became common. Package nerds care because it is tiny, scriptable, and still explains a lot of nginx-proxy-era container deployment patterns.
Sicherheitslage
infrastructure mutation or orchestration signal.
orange Risiko · mittel Konfidenz · infrastructure
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
docker-gen | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/nginx-proxy/docker-gen
Installationsmetadaten
| Paketschlüssel | brew:docker-gen |
|---|---|
| Version | 0.17.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/docker-gen |
| Homepage | https://github.com/nginx-proxy/docker-gen |
| Repository | https://github.com/nginx-proxy/docker-gen |
| Upstream-Dokumentation | https://github.com/nginx-proxy/docker-gen#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/nginx-proxy/docker-gen/archive/refs/tags/0.17.2.tar.gz |
| Zuletzt aktualisiert | 2026-07-11T11:44:11Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | docker-gen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.