LXC VS Dokku

Compare LXC vs Dokku and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
LXC Dokku
7 182
4,439 26,003
1.4% 1.0%
9.2 9.9
21 days ago 1 day ago
C Shell
GNU General Public License v3.0 or later 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.

LXC

Posts with mentions or reviews of LXC. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.
  • LXD Moves into Canonical
    3 projects | news.ycombinator.com | 6 Jul 2023
    I hope this doesn't affect LXC negatively.

    LXC and LXD share plenty of contributors.

    https://github.com/lxc/lxc/graphs/contributors

    https://github.com/canonical/lxd/graphs/contributors

    I use an "unprivileged LXC container" setup on several Debian bullseye hosts. It works fantastic, and each LXC container feels like a real server.

    Compare that to Docker's "one-container-one-process" philosophy, reinventing the wheel by awkwardly composing multiple containers.

  • Support for Android apps
    2 projects | /r/vanillaos | 2 May 2023
    There is an issue with lxc as stated here: https://github.com/lxc/lxc/issues/4283 and https://github.com/Vanilla-OS/apx/issues/118
  • LXC & AD
    1 project | /r/Proxmox | 17 Oct 2022
    I'm currently attempting to enroll my Ubuntu (20.04) (Unprivileged) LXC hosts to my windows AD server but am having difficulty. I'm using SSSD and KRB5 to manage the user directory and authentication. Once joining the domain with realmd, all seems ok, I can use the id command, etc to lookup users and groups and the host appears in Windows Users and Computers. The issue I'm having is with authentication, I believe it to be related to this issue however I don't entirely understand the solution and can't seem to find much else on the matter (Note the method I'm using works fine on full VMs). Would anybody please be able to provide more clarity in layman's terms?
  • LXC and LXD: a different container story
    3 projects | news.ycombinator.com | 23 Sep 2022
    I don't recall having to do any uid/gid fixup last time I made an unprivileged container. I did have to prepare the unprivileged host user, of course, by reserving a range of subordinate uids/gids (/etc/sub?id) and configuring a virtual network interface limit (/etc/lxc/lxc-usernet).

    To create the container, I did this:

    lxc-create -t download -n -- -d debian -r bullseye -a amd64

    Note that this runs the 'download' template, which (IIRC) is better suited to unprivileged containers than the 'debian' template is. The 'download' template will list its available distros if you do this:

    lxc-create -t download -n -- --list

    Note that some versions of lxc-create may fail with a keyserver error because sks-keyservers.net died somewhat recently. Workaround: DOWNLOAD_KEYSERVER=hkp://keyserver.ubuntu.com lxc-create

    https://github.com/lxc/lxc/issues/3894

  • Lxc container still gives Cannot open TUN/TAP dev /dev/net/tun: Operation not permitted after following graysky's edit of wiki
    1 project | /r/archlinux | 1 Jan 2022
    Found this issue and edited the config file of the lxc container:
  • How to - Create LXC containers FROM Docker and OCI images
    2 projects | /r/LXD | 6 Nov 2021
    and on this thread... an different approach is described
  • Finally joining the club
    1 project | /r/Proxmox | 17 Mar 2021
    https://github.com/lxc/lxc/issues/1629#issuecomment-311379508

Dokku

Posts with mentions or reviews of Dokku. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Open-source alternative to Heroku, Vercel, and Netlify
    9 projects | news.ycombinator.com | 29 Apr 2024
    Would be great to see a comparison to some better known alternatives like

    - Dokku [0]

    - CapRover [1]

    [0] https://dokku.com/

    [1] https://caprover.com/

  • Hosting old Node Projects 👴🏼
    1 project | dev.to | 25 Apr 2024
    If you want to dig into it anyways, Dokku is an interesting mention. They provide an Open Source PaaS that you can install on your server to simplify self hosting containers.
  • Deploy Node.js applications on a VPS using Coolify
    4 projects | dev.to | 20 Apr 2024
    When I came across Coolify, I thought of giving it a try. I am aware of Dokku, but I never really tried it because it doesn't have a UI. I work primarily as a UI developer, so having a nice UI to work with is a plus for me.
  • The Hater's Guide to Kubernetes
    6 projects | news.ycombinator.com | 3 Mar 2024
    I run all my projects on Dokku. It’s a sweet spot for me between a barebones VPS with Docker Compose and something a lot more complicated like k8s. Dokku comes with a bunch of solid plugins for databases that handle backups and such. Zero downtime deploys, TLS cert management, reverse proxies, all out of the box. It’s simple enough to understand in a weekend and has been quietly maintained for many years. The only downside is it’s meant mostly for single server deployments, but I’ve never needed another server so far.

    https://dokku.com/

  • Netlify just sent me a $104K bill for a simple static site
    12 projects | news.ycombinator.com | 26 Feb 2024
    Yeah there are a bunch of selfhostable things:

    Caprover (https://caprover.com/)

    Dokku (https://github.com/dokku/dokku)

    But people still choose Netlify and Vercel for ease of use I think.

    Maybe we need something that's just Netlify. The closest I've seen to the "right" UX is Ness:

    https://ness.sh

  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    The modern iteration of these tools has taken the developer experience learnings from the Platform as a Service (PaaS) category, and will bring them to your own VM, giving you your own personal PaaS. Example of this include Dokku, Coolify, Caprover, Cloud66 and many more!
  • Ask HN: Is there an open source alternative to Digitalocean app platform?
    2 projects | news.ycombinator.com | 17 Oct 2023
  • Ask HN: How are you hosting multiple small apps?
    4 projects | news.ycombinator.com | 23 Sep 2023
    Based on the fact that your ideal is to have a similar experience to heroku than managing your own server setting up reverse proxies take a look at these options:

    1) https://dokku.com - lets you turn your light sail instance basically into heroku

    2) https://render.com

    3) https://fly.io

    4) If you have aws credits this is their heroku equivalent: https://aws.amazon.com/elasticbeanstalk

    above is not what I do but would be the options I would pursue if I understand your preference and requirement correctly.

  • The Best Way to Deploy Your Own Apps
    2 projects | dev.to | 14 Jul 2023
    All in all, I really recommend trying out Dokku if you are a developer interested in hosting your own projects. It makes it super easy to get everything you need to get up and running without having to worry about the specifics. And the price is impossible to beat!
  • Zero downtime deployments of containers on locally running server
    2 projects | /r/docker | 11 Jul 2023
    The installation instructions are on the frontpage of our site. Thats basically all you need to do to install Dokku. As far as using it, we have a simplified tutorial here.

What are some alternatives?

When comparing LXC and Dokku you can also consider the following projects:

Portainer - Making Docker and Kubernetes management easy.

coolify - An open-source & self-hostable Heroku / Netlify / Vercel alternative.

Docker Compose - Define and run multi-container applications with Docker

CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids

Docker Swarm - Source repo for Docker's Documentation

Docker - Notary is a project that allows anyone to have trust over arbitrary collections of data

Harbor - An open source trusted cloud native registry project that stores, signs, and scans content.

swarmpit - Lightweight mobile-friendly Docker Swarm management UI

Habitus - A build flow tool for Docker.

porter - Kubernetes powered PaaS that runs in your own cloud.