Portainer VS traefik

Compare Portainer vs traefik and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Portainer traefik
337 183
28,736 47,726
1.8% 1.5%
9.8 9.2
6 days ago 6 days ago
TypeScript Go
zlib 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.

Portainer

Posts with mentions or reviews of Portainer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-22.
  • Homelab Adventures: Crafting a Personal Tech Playground
    7 projects | dev.to | 22 Apr 2024
    Portainer
  • Runtipi: Docker-Based Home Server Management
    2 projects | news.ycombinator.com | 4 Apr 2024
    > Any tips on the minimum hardware or VPS's needed to get a small swarm cluster setup?

    From my testing, Docker Swarm is very lightweight, uses less memory than both Hashicorp Nomad and lightweight Kubernetes distros (like K3s). Most of the resource requirements will depend on what containers you actually want to run on the nodes.

    You might build a cluster from a bunch of Raspberry Pis, some old OptiPlex boxes or laptops, or whatever you have laying around and it's mostly going to be okay. On a practical level, anything with 1-2 CPU cores and 4 GB of RAM will be okay for running any actually useful software, like a web server/reverse proxy, some databases (PostgreSQL/MySQL/MariaDB), as well as either something for a back end or some pre-packaged software, like Nextcloud.

    So, even 5$/month VPSes are more than suitable, even from some of the more cheap hosts like Hetzner or Contabo (though the latter has a bad rep for limited/no support).

    That said, you might also want to look at something like Portainer for a nice web based UI, for administering the cluster more easily, it really helps with discoverability and also gives you redeploy web hooks, to make CI easier: https://www.portainer.io/ (works for both Docker Swarm as well as Kubernetes, except the Kubernetes ingress control was a little bit clunky with Traefik instead of Nginx)

  • Cómo instalar Docker CLI en Windows sin Docker Desktop y no morir en el intento
    2 projects | dev.to | 19 Mar 2024
  • Setup Portainer for Server App
    1 project | dev.to | 23 Jan 2024
    In this section, we will add Portainer to help us in managing our Docker containers. You can find more details about it here. To integrate Portainer into our EC2 project, we can follow these steps:
  • Old documentation url on Github issues gives ERR_TOO_MANY_REDIRECTS.
    1 project | /r/portainer | 19 Oct 2023
    Git issues pointing to: https://docs.portainer.io/v/ce-2.9/start/install/agent/swarm/linux gives a ERR_TOO_MANY_REDIRECTS.
  • Docker CI/CD with multiple docker-compose files.
    2 projects | /r/homelab | 17 Oct 2023
    I am currently running Portainer, but webhooks (GitOps) appear to be broken ( [2.19.0] GitOps Updates not automatically polling from git · Issue #10309 · portainer/portainer · GitHub ) and so I cannot send webhook to redeploy a stack. So, looking for alternatives. Using this as a good excuse to learn more about docker and CI/CD etc.
  • Ask HN: How do you manage your “family data warehouse”?
    3 projects | news.ycombinator.com | 15 Sep 2023
    A Synology NAS running Portainer (https://www.portainer.io/) running Paperless NGX (https://github.com/paperless-ngx/paperless-ngx)

    This works better than I can possibly tell you.

    I have an Epson WorkForce ES-580W that I bought when my mother passed away to bulk scan documents and it scans everything, double-sided if required, multi-page PDFs if required, at very high speed and uploads everything to OneDrive, at which point I drag and drop everything into Paperless.

    I could, thinking about it, have the scanner email stuff to Paperless. Might investigate that today.

    Paperless will OCR it and make it all searchable. This setup is amazing, I love living in the future.

  • Bare-Metal Kubernetes, Part I: Talos on Hetzner
    8 projects | news.ycombinator.com | 9 Sep 2023
    > I've come to the conclusion (after trying kops, kubespray, kubeadm, kubeone, GKE, EKS) that if you're looking for < 100 node cluster, docker swarm should suffice. Easier to setup, maintain and upgrade.

    Personally, I'd also consider throwing Portainer in there, which gives you both a nice way to interact with the cluster, as well as things like webhooks: https://www.portainer.io/

    With something like Apache, Nginx, Caddy or something else acting as your "ingress" (taking care of TLS, reverse proxy, headers, rate limits, sometimes mTLS etc.) it's a surprisingly simple setup, at least for simple architectures.

  • What are some of your fav panels and why?
    3 projects | /r/homelab | 23 Aug 2023
    casaos it just makes things like backups, offsite syncing and many other nas related things so much easier to manage. And gives you a proper nas like experience similar to that in which you'd fine on companies like tnas or synology. I actually also use it as a replacement for portainer when i don't need the more advanced features it offers
  • Kubernetes Exposed: One YAML Away from Disaster
    4 projects | news.ycombinator.com | 8 Aug 2023
    > I moved to docker swarm and love it. It's so much easier, straight forward, automatic ingress network and failover were all working out of the box. I'll stay with swarm for now.

    I've had decent luck in the past with the K3s distribution, which is a bit cut down Kubernetes: https://k3s.io/

    It also integrates nicely with Portainer (aside from occasional Traefik ingress weirdness sometimes), which I already use for Swarm and would suggest to anyone that wants a nice web based UI: https://www.portainer.io/

    Others might also mention K0s, MicroK8s or others - there's lots of options there. But even so, I still run Docker Swarm for most of my private stuff as well and it's a breeze.

    For my needs, it has just the right amount of abstractions: stacks with services that use networks and can have some storage in the form of volumes or bind mounts. Configuration in the form of environment variables and/or mounted files (or secrets), some deployment constraints and dependencies sometimes, some health checks and restart policies, as well as resource limits.

    If I need a mail server, then I just have a container that binds to the ports (even low port numbers) that I need and configure it. If I need a web server, then I can just run Apache/Nginx/Caddy and use more or less 1:1 configuration files that I'd use when setting up either outside of containers, but with the added benefit of being able to refer to other apps by their service names (or aliases, if they have underscores in the names, which sometimes isn't liked).

    At a certain scale, it's dead simple to use - no need for PVs and PVCs, no need for Ingress and Service abstractions, or lots and lots of templating that Helm charts would have (although those are nice in other ways).

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-04-04.
  • 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
  • Istio moved to CNCF Graduation stage
    13 projects | news.ycombinator.com | 12 Jul 2023
  • Docker Services question
    2 projects | /r/docker | 5 Jul 2023
    Traefik is another widely used system that has automatic configuration and offers support for more things like swarm/kubernetes/etc.
  • nginx alternatives
    2 projects | /r/webdev | 5 Jul 2023
    I have a webapp which I currently have deployed by running nginx in a container. Works as it should, however I am intersted in adding more observability to the webapp and found this reverse-proxy https://github.com/traefik/traefik which seems to expose some nice metrics which can be useful for observability.
  • Make traefik only accessible over tailscale
    1 project | /r/Tailscale | 4 Jul 2023
    ``` more details in this (github issue)[https://github.com/traefik/traefik/issues/5059]

What are some alternatives?

When comparing Portainer and traefik you can also consider the following projects:

Yacht - A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.

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

swarmpit - Lightweight mobile-friendly Docker Swarm management UI

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

podman - Podman: A tool for managing OCI containers and pods.

ingress-nginx - Ingress-NGINX Controller for Kubernetes

OpenMediaVault - openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.

Squid - Squid Web Proxy Cache

CasaOS - CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

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

podman-compose - a script to run docker-compose.yml using podman

socks5-proxy-server - SOCKS5 proxy server