docker-gen VS traefik

Compare docker-gen vs traefik and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
docker-gen traefik
7 189
4,376 48,176
0.5% 1.6%
8.3 9.4
3 days ago 2 days ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

docker-gen

Posts with mentions or reviews of docker-gen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-25.
  • Hosting Wiki.js behind a jwilder/nginx-proxy
    1 project | /r/selfhosted | 18 May 2023
    Yeah, I usually do if I pass URLs to container. But again, the nginx config is completely auto-generated by docker-gen. Not sure why they don't use the container name, maybe duplicate container names? (if that's possible)
  • Going to reinstall.. need ideas.
    5 projects | /r/selfhosted | 25 Feb 2023
    I've not got around to it, but I've always fancied creating a nice landing page that automatically updates as services come up/down, using the system jwilder created to make nginx-proxy, docker-gen. Could be a fun little project, anyway!
  • Tools for automation and daily tasks
    12 projects | /r/automation | 31 Oct 2022
    https://github.com/nginx-proxy/acme-companion https://github.com/nginx-proxy/docker-gen https://github.com/projectdiscovery/dnsx https://github.com/projectdiscovery/httpx https://github.com/projectdiscovery/mapcidr https://github.com/debauchee/barrier https://github.com/stedolan/jq https://github.com/ddosify/ddosify https://github.com/kubernetes-sigs/kind https://github.com/mailcow/mailcow-dockerized https://github.com/motiv-labs/janus
  • Easiest solution for local deployment?
    5 projects | /r/docker | 18 Sep 2022
    Then to make deployment super easy we're using nginx-proxy which uses docker-gen (and the acme-companion for automatic SSL cert generation) to automatically re-configure an nginx reverse proxy to point to your containers.
  • Need help with a flexible configuration for Node and Nginx
    3 projects | /r/node | 14 Sep 2022
    I've now got a setup using docker where the reverse proxy configuration is within the container's configuration (using nginx-proxy, which uses docker-gen). That way I just set the host, path, etc. in my container config, deploy, and the nginx servers are re-configured accordingly. No need to worry about ports and IPs then either.
  • How do you manage and maintain the order of your container ports? It's a bit of a mess on my personal server
    4 projects | /r/selfhosted | 10 Sep 2022
    I use an automated nginx reverse proxy. What this does is setup an nginx reverse proxy which uses docker-gen (follow the advice of setting it up separately). docker-gen listens for docker events such as a container being run, inspects that container for the details it needs (port, host, etc.) then configures the nginx accordingly.
  • docker-gen
    1 project | /r/devopskhan | 26 Oct 2021

traefik

Posts with mentions or reviews of traefik. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-05.
  • Take a look at traefik, even if you don't use containers
    13 projects | news.ycombinator.com | 5 May 2024
    apparently "traffic" https://github.com/traefik/traefik/issues/795
  • Release Radar ยท April 2024 Edition: Major updates from the open source community
    12 projects | dev.to | 3 May 2024
    Pronounced "traffic", Traefik is a modern HTTP reverse proxy and load balancer aimed at making deploying microservices easier. It integrates with your existing infrastructure components such as Docker, Kubernetes, and others, and configures itself automatically and dynamically. The latest version adds lots of new options and enhancements such as adding healthcheck options, support for custom headers, and more. Read the migration guide on how to update to the latest version which is now required due to breaking changes.
  • Ask HN: Are there any open source forks of nomad smd consul?
    9 projects | news.ycombinator.com | 2 May 2024
    > I think etcd is basically a k8s only project now

    I hate etcd with the best of them, but etcd is used in a lot more places than just kubernetes:

    https://github.com/apache/apisix/blob/master/docs/en/latest/...

    https://github.com/traefik/traefik#:~:text=Etcd,

    https://github.com/zalando/patroni#patroni-a-template-for-po...

    https://github.com/purpleidea/mgmt/tree/0.0.26/etcd (this one shows up on HN quite a bit)

    https://github.com/sorintlab/stolon#features

    It's actually one of the major reasons I wouldn't touch those projects

  • Traefik Proxy v3.0.0 Released
    1 project | news.ycombinator.com | 29 Apr 2024
  • How to securely reverse-proxy ASP.NET Core web apps
    3 projects | dev.to | 4 Apr 2024
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
  • Deploying Web Apps with Caddy: A Beginner's Guide Caddy
    5 projects | news.ycombinator.com | 27 Feb 2024
    Not as good though. Case in point: https://github.com/traefik/traefik/issues/5472#issuecomment-... (that's just from this morning)

    I'm speak objectively here. Of course, any built-in auto HTTPS that works (more or less) is better than none. Traefik uses an ACME library that was originally written for Caddy. After the original author left that project, Traefik team started maintaining it. Caddy's users' requirements exceeded what the library was capable of, but unfortunately there was friction in getting it to achieve our requirements. So I ended up writing a new ACME client library in Go and, together with upgrades in CertMagic (Caddy's auto-TLS lib), Caddy has the more flexible, robust, and capable auto-HTTPS functionality.

    That is to say, not all auto-HTTPS functionalities are the same.

  • Security Workshop Part 1 - Put up a gate
    1 project | dev.to | 3 Nov 2023
    We'll use Traefik, an open source cloud native gateway that can plug into a Kubernetes cluster. It has the concept of "middleware" that can process API requests before passing them through to a backend. We can configuring a rate limit for all of our API endpoints by matching on the request path:
  • Install plugin in k8s cluster running in Kind
    1 project | /r/Traefik | 2 Nov 2023
    I did the same question here and here
  • The Tailscale Universal Docker Mod
    22 projects | news.ycombinator.com | 8 Oct 2023
  • Set Default Config in traefik.toml and overwrite with specific container config
    1 project | /r/Traefik | 25 Sep 2023
    Sadly there is currently no way of doing so. https://github.com/traefik/traefik/issues/6999

What are some alternatives?

When comparing docker-gen and traefik you can also consider the following projects:

nginx-proxy - Automated nginx proxy for Docker containers using docker-gen

Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface

Moby - The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

janus - An API Gateway written in Go

ingress-nginx - Ingress-NGINX Controller for Kubernetes

acme-companion - Automated ACME SSL certificate generation for nginx-proxy

Squid - Squid Web Proxy Cache

awesome-sysadmin - MOVED/ARCHIVED A curated list of amazingly awesome open source sysadmin resources.

envoy - Cloud-native high-performance edge/middle/service proxy

Lean and Mean Docker containers - Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)

socks5-proxy-server - SOCKS5 proxy server