Docker Swarm VS LXC

Compare Docker Swarm vs LXC and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Docker Swarm LXC
151 7
4,018 4,428
1.0% 1.2%
10.0 8.9
4 days ago 8 days ago
Markdown C
Apache License 2.0 GNU General Public License v3.0 or later
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 Swarm

Posts with mentions or reviews of Docker Swarm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.

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 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

  • 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

What are some alternatives?

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

Portainer - Making Docker and Kubernetes management easy.

Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications

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

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

CashFactory - Lightweight docker image running many passive income applications (proxy and bandwidth share) : Honeygain , EarnApp , IPRoyal Pawns , PacketStream , Peer2Profit

ufw-docker - To fix the Docker and UFW security flaw without disabling iptables

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

Habitus - A build flow tool for Docker.

vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!