docker-gen
brew install docker-gen
v0.16.6
MIT
Generate files from docker container metadata
100
30-day installs · #3475
160
90-day · #4589
576
365-day · #4831
4.6k
★ GitHub stars · updated 2mo ago
Build dependencies
GitHub topics
docker
go
Links
- https://github.com/nginx-proxy/docker-gen
- GitHub: nginx-proxy/docker-gen
- Brew formula source: Formula/d/docker-gen.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Generate files from docker container metadata",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:03+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "docker-gen",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-20T13:56:19Z",
"github_readme_excerpt": "# docker-gen\n\n[](https://github.com/nginx-proxy/docker-gen/actions/workflows/tests.yml)\n[](https://github.com/nginx-proxy/docker-gen/releases)\n[](https://hub.docker.com/r/nginxproxy/docker-gen \"Click to view the image on Docker Hub\")\n[](https://hub.docker.com/r/nginxproxy/docker-gen \"DockerHub\")\n[](https://hub.docker.com/r/nginxproxy/docker-gen \"DockerHub\")\n\n`docker-gen` is a file generator that renders templates using docker container meta-data.\n\nIt can be used to generate various kinds of files for:\n\n- **Centralized logging** - [fluentd](https://github.com/nginx-proxy/docker-gen/blob/main/templates/fluentd.conf.tmpl), logstash or other centralized logging tools that tail the containers JSON log file or files within the container.\n- **Log Rotation** - [logrotate](https://github.com/nginx-proxy/docker-gen/blob/main/templates/logrotate.tmpl) files to rotate container JSON log files\n- **Reverse Proxy Configs** - [nginx](https://github.com/nginx-proxy/docker-gen/blob/main/templates/nginx.tmpl), [haproxy](https://github.com/jwilder/docker-discover), etc. reverse proxy configs to route requests from the host to containers\n- **Service Discovery** - Scripts (python, bash, etc..) to register containers within [etcd](https://github.com/jwilder/docker-register), hipache, etc..\n\n---\n\n### Installation\n\nThere are three common ways to run docker-gen:\n\n- on the host\n- bundled in a container with another application\n- separate standalone containers\n\n#### Host Install\n\nDownload the version you need, untar, and install to your PATH.\n\n```console\nwget https://github.com/n",
"github_repo": "nginx-proxy/docker-gen",
"github_stars": 4627,
"github_topics": [
"docker",
"go"
],
"homepage": "https://github.com/nginx-proxy/docker-gen",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 100,
"installs_365d": 576,
"installs_90d": 160,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "docker-gen",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 3475,
"rank_365d": 4831,
"rank_90d": 4589,
"raw_hash": "f8037c0a8d5a3908",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/d/docker-gen.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.16.6",
"versioned_formulae": [],
"why_use_this": null
}