So I have been running a fair amount of selfhosted services over the last decade or so. I have always been running this on a Ubuntu LTS distribution running on a intel NUC machine. Most, if not all of my services run in a docker container, and using a docker compose file that brings everything up. The server is headless. I connect over ssh into a tmux config so I am always ready to go.

Ubuntu has been my stable server choice over the years. I’ve made the upgrade from 16, 18, 20 and 22 LTS release and everything has kept working. I even upgraded the hardware (old NUC to a new NUC) and just imaged the disk from the old one onto the new machine, and the server kept chugging along quite nicely, after I configured the hardware (specifically the Intel QuickSync for hardware transcoding in the Plex container).

Since Ubuntu has been transitioning from a really open community driven effort into a commercial enterprise, I feel it may be time to look at other distributions. On the other hand, it will require a fair amount of work to make the switch. But if it needs to be done, than so be it. I guess I am looking for opinions on what Linux distribution would fit my particular use case, and am wondering what most of us here are running.

TLDR; What stable, long term supported Linux distributions do you recommend for a headless server running a stack of docker containers?

  • Guenther_Amanita@feddit.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    Debian. I don’t see much benefit of Ubuntu LTS compared to plain old Debian. It’s exactly what you wanted.

    Alternatively, AlmaLinux is a good choice if you like Red Hat stuff (RHEL clone), but the difference between Ubuntu LTS and Debian would be almost not noticeable for you I think.

    • h3ndrik@feddit.de
      cake
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 months ago

      And I would agree. I’ve been using Debian on my VPS with docker-compose etc for years. Would recommend it, too. And it’s pretty similar to what you have now. There isn’t much needed to swich around or learn.

      And it is the textbook example of a successful, community driven distro.

      • faethon@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        It seems to be the most logical move to go from Ubuntu to Debian indeed. As I understand it maintains the core Linux system as I have it now (systemd / apt / stable kernel) while truly community driven. I have to look into transitioning into the latest stable Debian release.

        • h3ndrik@feddit.de
          cake
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          I mean it’s not only alike what you’re currently using… It’s the foundation of Ubuntu. Lots of packages are exactly the same.

          And I think you’ll find something very similar, just with the stuff missing that Ubuntu added on top, and you don’t like anyways.

          Hope you can move you containers and volumes without too much effort. I mean since you’re starting over anyways you could also pause for a minute and think if you want to recreate something similar or switch to something different. There are other containerization techniques, podman, systemd-nspawn, you could do your server in a declarative approach with NixOS… But if you like what you have now, and don’t want to learn something entirely new, I’d say Debian is probably your solution.

          • iso@lemy.lol
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            “Ubuntu added on top” you mean Snap? No thanks :)

            • h3ndrik@feddit.de
              cake
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 months ago

              It’s not the first strange decision they made. I think I finally switched from Ubuntu to Debian when they introduced the Amazon advertisements to the Unity desktop. That must have been 12.10 Quantal Quetzal. I’ve been happy since and didn’t miss the odd business strategies they pushed in the time since…

  • peo@feddit.it
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Debian, set and forget. Being a server you don’t need the latest version of any software and Debian is timely in security patches. use unattended-upgrades and forget about what is running your stuff.

    • faethon@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Yes, I am running unattended-upgrades, and basically my current server is running 24/7 just fine! It is indeed like set and forget already. More reason to move to Debian!