Elektrine lite

← Feed

@alxhu@greifswald.lgbt

2026-08-07 07:25 UTC

Docker vs LXC vs Nix, what do you recommend? (not a specific purpose, just in general) #Docker #LXC #LXD #Nix #NixOS #Linux

Replies (6)

  • @lxsameer@mastodon.social 2026-08-07 07:27

    @alxhu@greifswald.lgbt nix, but the purpose is very important

    Open ##5140680

  • @puffnfresh@mastodon.social 2026-08-07 08:18

    @alxhu@greifswald.lgbt nixos-containers (i.e. backed by systemd-nspawn) because declarative, reproducible

    Open ##5140681

  • @alxhu@greifswald.lgbt I make heavy use of Podman as it is docker in user space. But also I never used any of the others. Never had a need for it.

    Open ##5140682

  • @phileas@infosec.exchange 2026-08-07 09:46

    @alxhu@greifswald.lgbt I've been working a lot with nixos-containers lately. There is a learning curve to it, but you can have quite an amazing experience with them. In particular having something in-between fully nix managed but then being able to have a container on an older nix version while keeping others up to date is really useful, also for maintenance you can separate the system easier.

    Open ##5140683

  • @bw42@mastodon.social 2026-08-07 14:39

    @alxhu@greifswald.lgbt I prefer building my own LXC setup.

    Open ##5140685

  • @etam@im-in.space 2026-08-07 19:19

    @alxhu@greifswald.lgbt Comparing Docker with LXC is like apples with oranges. Or at least for me running LXC for one service feels like an overkill. I like docker compose for declarative style management.

    Open ##5140688