Docker vs LXC/LXD

Discussions recommend Linux container technologies like LXC, LXD, and Incus as simpler, more secure alternatives to Docker, often noting Docker's roots in LXC and kernel features like namespaces and cgroups.

➡️ Stable 0.6x DevOps & Infrastructure
5,315
Comments
18
Years Active
5
Top Authors
#2910
Topic ID

Activity Over Time

2009
1
2010
1
2011
7
2012
11
2013
292
2014
383
2015
477
2016
537
2017
376
2018
323
2019
320
2020
469
2021
365
2022
417
2023
472
2024
342
2025
478
2026
46

Keywords

e.g containertoolbx.org LXE linuxcontainers.org bhyve.org ProxMox AMI VM KubeSolo OrbStack docker containers linux container kernel docker containers systemd ubuntu vm init

Sample Comments

ZYbCRq22HbJ2y7 Nov 12, 2024 View on HN

Have you tried incus?https://linuxcontainers.org/incus/

akerl_ Jul 3, 2014 View on HN

Docker is based heavily on libcontainer (their replacement for LXC), which is based very heavily on kernel namespaces and cgroups. Those features are Linux-specific, and are a very important and fundamental part of what lets Docker containers work. Somebody could totally write another container backend to replace libcontainer that supported the mach kernel or other BSDs or Hurd or whatever, but it would likely require a lot of work (ongoing work, considering the speed at which Docker is changing

devonkim Dec 7, 2017 View on HN

Sounds like you are looking for something closer to LXD or perhaps Rkt.

thepapanoob Nov 27, 2018 View on HN

maybe its because docker is based on LXC (LinuX Containers)?!?!

parito Oct 17, 2016 View on HN

for the love of god - forget docker, use lxc containers - its simple, secure, goes with its own init, cron, and you dont need to do somersaults to achieve simple tasks. Included with linux kernel. Your own isolated linux system. We use lxc in production for over three years, and we have over 3000 of them. No issues whatsoever.

krasin Oct 20, 2014 View on HN

Does OpenBSD have an analog of Docker?

cyphar May 9, 2019 View on HN

You should check out LXD. It's containers, but they act like VMs (you have proper systemd inside the container) and the tooling is far more sane than anything Docker has. It's developed by the same folks that work on LXC (and despite what you might've heard, LXC is very good).

jarfil Nov 12, 2018 View on HN

Docker does that (and so do LXC, Flatpak, Snap, etc).

devicetray0 Nov 16, 2019 View on HN

This looks like a viable alternative to docker, at least for BSD. Any opinions on that statement?

nine_k Mar 15, 2016 View on HN

Plain LXC, rut, or docker are probably closer.