• MonkeMischief@lemmy.today
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    4 months ago

    Meme gave me a laugh. XD

    I see people not happy with Docker as a company, and, I get that, tech co. Lol

    But I gotta admit, it’s definitely been awesome for self hosting. My home server would probably just be OpenMediaVault and a Samba share if I couldn’t just spin up compose files and had to worry about every app wanting its own database and stuff!

    Are there better alternatives for newbs who just wanna self host stuff?

    • dan@upvote.au
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      4 months ago

      Are there better alternatives for newbs who just wanna self host stuff?

      Docker is great for a beginner, and even for an expert too. I’ve been self-hosting for 20 years and love Docker.

      Back in “the old days”, we’d use Linux-VServer to containerize stuff. It was a bit like LXC is today. You get a container that shares the same kernel, and have to install an OS inside it. The Docker approach of having an immutable container and all data stored in separate volumes was a game changer. It makes upgrades so much simpler since it can just throw away the container and build a new one.

      The main alternative to Docker is Podman. Podman uses the same images/containers as Docker - technically they’re “OCI containers” and both Docker and Podman implement the OCI spec.

      Podman’s architecture is different. The main difference with Podman is that it never runs as root, so it’s better for security. With Docker, you can either run it as root or in rootless mode, but the default is running it as root.

      • MonkeMischief@lemmy.today
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 months ago

        Wow, I really appreciate you taking the time. I’m bookmarking this. Thanks, Dan!

        As I look to upgrade or re-factor the server a bit, I’m gonna take a closer look at Podman. Not running as root by default sounds extremely sensible!

        I tried that with a few of my Docker containers with results ranging from “Did it actually do it?” to “Nice job breaking it, hero.” Lol

        OMV has a really nice Docker GUI built in, but I’d much rather be ready to understand the open-for-all solution if I could. :)

        Hope you have a great one!