awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jwilder avatar

jwilder/docker-gen

0
View on GitHub↗
4,627 星标·612 分支·Go·MIT·9 次浏览

Docker Gen

docker-gen 是一个配置生成器,它使用从 Docker 容器获取的元数据将文本模板渲染为文件。它作为一个服务发现工具和基于模板的编排器,将容器状态和环境变量映射到宿主机本地存储的特定目标路径。

该工具在容器启动、停止或重命名时实时自动更新反向代理和服务发现设置。它采用顺序模板处理和辅助函数来过滤和排序容器数据,确保配置输出的稳定性和一致性。

Features

  • Configuration File Generators - Generates configuration files for reverse proxies and service discovery by rendering templates based on container metadata.
  • Template-Based Code Generators - Renders text templates into configuration files by injecting dynamic metadata retrieved from a container orchestration API.
  • Container Metadata Retrieval - Fetches current container state and environment variables from the Docker socket to use as template data.
  • Container Metadata Configuration Generators - Creates configuration files for services by automatically pulling metadata from running Docker containers.
  • Service Discovery - Maps network addresses and ports for a collection of Docker containers into a readable format for other tools.
  • Container-Driven Rendering - Uses container metadata to fill out text templates and generate the resulting files without manual editing.
  • Dynamic Reverse Proxies - Updates reverse proxy settings in real time as Docker containers are started, stopped, or renamed.
  • Sequential Multi-Job Template Executors - Executes a defined series of templates in a specific order to produce a consistent set of output files.
  • Template Functions - Filters and sorts container data into stable output using standard text templates and integrated helper functions.
  • Configuration Logic Functions - Uses custom logic functions within templates to sort and filter container lists for stable configuration output.
  • Multiple Template Job Pipelines - Generates multiple sequential configuration files using template logic and container data.
  • Container Management - Generates configuration files from container metadata.
  • In-Container Tooling - Generates configuration files based on container metadata.

Star 历史

jwilder/docker-gen 的 Star 历史图表jwilder/docker-gen 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

jwilder/docker-gen 是做什么的?

docker-gen 是一个配置生成器,它使用从 Docker 容器获取的元数据将文本模板渲染为文件。它作为一个服务发现工具和基于模板的编排器,将容器状态和环境变量映射到宿主机本地存储的特定目标路径。

jwilder/docker-gen 的主要功能有哪些?

jwilder/docker-gen 的主要功能包括:Configuration File Generators, Template-Based Code Generators, Container Metadata Retrieval, Container Metadata Configuration Generators, Service Discovery, Container-Driven Rendering, Dynamic Reverse Proxies, Sequential Multi-Job Template Executors。

jwilder/docker-gen 有哪些开源替代品?

jwilder/docker-gen 的开源替代品包括: nginx-proxy/docker-gen — docker-gen is a general-purpose configuration generator that produces configuration files by applying Go templates to… masterminds/sprig — Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a… dhall-lang/dhall-lang — Dhall is a type-safe configuration language designed to create programmable configuration files that are guaranteed to… lucaslorentz/caddy-docker-proxy — caddy-docker-proxy is a dynamic HTTP reverse proxy and Docker network ingress controller that automatically generates… expressjs/generator — This project is a command-line utility designed to automate the initialization and scaffolding of web applications. It… valentinxxx/nginxconfig.io — nginxconfig.io is a web-based NGINX configuration generator designed to create and optimize server configuration files…

Docker Gen 的开源替代方案

相似的开源项目,按与 Docker Gen 的功能重合度排序。
  • nginx-proxy/docker-gennginx-proxy 的头像

    nginx-proxy/docker-gen

    4,615在 GitHub 上查看↗

    docker-gen is a general-purpose configuration generator that produces configuration files by applying Go templates to live Docker container metadata. It generates dynamic configuration for reverse proxies, log forwarding, log rotation, and other service files based on real-time container state. The tool watches Docker container lifecycle events—such as start, stop, and die—and automatically re-renders templates each time a change occurs. It supports multiple template jobs defined in a configuration file, executing them sequentially, and can send Unix signals or run commands after regeneration

    Godockergo
    在 GitHub 上查看↗4,615
  • masterminds/sprigMasterminds 的头像

    Masterminds/sprig

    4,692在 GitHub 上查看↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Gogotemplatetemplates
    在 GitHub 上查看↗4,692
  • dhall-lang/dhall-langdhall-lang 的头像

    dhall-lang/dhall-lang

    4,458在 GitHub 上查看↗

    Dhall is a type-safe configuration language designed to create programmable configuration files that are guaranteed to terminate. It is a non-Turing-complete language that uses a strict type system to ensure correctness and prevent infinite loops during evaluation. The project functions as a deterministic configuration engine and marshalling tool, converting programmable expressions into static formats such as JSON, YAML, and Bash. It distinguishes itself through a focus on security and integrity, using semantic hashing to pin remote imports and enforcing origin policies to prevent data exfil

    Dhallconfiguration-languagedhall
    在 GitHub 上查看↗4,458
  • lucaslorentz/caddy-docker-proxylucaslorentz 的头像

    lucaslorentz/caddy-docker-proxy

    4,532在 GitHub 上查看↗

    caddy-docker-proxy is a dynamic HTTP reverse proxy and Docker network ingress controller that automatically generates routing configurations by reading labels from Docker containers. It serves as a service discovery tool that detects container IP addresses in real time to route incoming web traffic to the correct backend targets. The project functions as a distributed proxy orchestrator, capable of pushing generated configurations from a central controller to multiple remote server instances to scale request handling. It automates the issuance and renewal of TLS security certificates for prox

    Go
    在 GitHub 上查看↗4,532
查看 Docker Gen 的所有 30 个替代方案→