New server has been acquired. Debian 13 has been installed.

GS308EP switches have been acquired and installed.

Now, I’m working to migrate to the new machine. 3 1/2 years ago when I started futzing with Docker, I sorta followed guides and guessed, abused it trying to make it do things it wasn’t designed for, and flipped switches I likely shouldn’t have flipped, so the set up is more than a little shabby.

As a result, I’ll likely end more redeploying than migrating the containers.

So rather than go forward with Docker blindly, I want to reassess whether I shouldn’t look into Proxmox, LXC, or Podman instead of Docker, or maybe something else entirely?

Work is just about done dumping ESX for Nutanix, but both of those seem overkill for my needs.

Of course the forums for any of the solutions make their own out to be the best thing since sliced bread and the others useless, so I’m hoping to get a more nuanced answer here.

  • Vendetta9076@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    2 months ago

    I use proxmox has the base OS to deploy different virtual machines/LXCs depending on what I need. I have a dedicated docker lxc among those. Say what you will about docker, and man do people have opinions, but proxmox is probably the best way to run a multi lxc/VM setup. Highly recommend regardless of what else you do.

    • Imacat@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Same here and it’s worked well. I migrated my arr stack from another machine where it was in docker and just couldn’t see a reason to spend a bunch of time rebuilding it with LXCs.

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    Proxmox can run lxc containers natively.

    Personally I keep a Debian VM for docker, a holdover from before hypervisors supported containers natively. I use docker compose and it Just Works™.

    • tazeycrazy@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      I have three docker nodes on three Debean VMs on three proxmox servers. I should play around with lxcs and native containers on proxmox but it would mess up with my tri lateral system.

  • Lka1988@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 months ago

    I run Proxmox in my small cluster. Proxmox runs multiple VMs that each run various groups of docker containers.

    They’re on different levels.

    • tazeycrazy@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Yea I’m the same. planning on making some VMS/docker nodes, Highly available while others can be kicked to the kerb if there are issues.

  • Creat@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    Proxmox and Docker don’t really do the same thing. They live in the same area, but the coverage is very different. You can always use docker when your host is running proxmox: either individually or in groups inside of an lxc, or all in w dedicated VM, or even natively on the same house if you prefer chaos. But you can’t do the opposite: Sometimes you just need a VM. Maybe you only need a couple of devices, and you know they run on or are even designed for docker, then that’s the better option. In all other cases, and when just getting started, proxmox is just the way more universal solution if you’re only planning on having a single host (for now).

    The management tools in proxmox are great. The community scripts are a fantastic resource and only work with proxmox. I would suggest you set it up natively, not on top of Debian though, even if that’s already installed. Not the least of the reasons are to be able to use ZFS easily, including on on the boot partition (select that in the installer).

    Finally, if you’re gonna stick with docker, like others said: consider podman. That really does the same thing docker does, but it’s fully open source. Arguably it’s better in some areas, but on the flip side might, in occasion, require fiddling with something intended specifically for docker and using advanced setups.

    Also there really is no wrong answer, either. And you can always change whatever you choose.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      Docker community edition is fully foss

      I like Podman but In don’t think foss is the driving factor in this case

  • maarvin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Proxmox with all of its warts appears to be the better hypervisor. If your host has the headroom like others suggested: proxmox with a VM hosting docker/podman.

    I have to say running proxmox saved me from running to the basement or opening up IPMI a few times already when making suspect changes to a VM that otherwise would have taken down the network of my host.

    ATM I’m running Proxmox with Nixos VMs running mixed docker/podman containers. It works out pretty well for my use case and with some opentofu fiddling I have most of my infrastructure defined in config files if that’s a rabbit hole you want to go down.

    As for my experience with docker vs podman I have to say podman can pretty much do whatever docker does with the exception of docker swarm. You may have to do some digging to handle more advanced networking/gpu setups.

    The only thing I have running docker atm is a gluetun container because container to container networking took more than 15m of research with podman so I fell back to the very well documented path using docker.

  • ducklingone@lemmy.today
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Proxmox is great. I run each service in its own lxc/vm. Many of the vms also run docker. Probably overkill, but backups and restores via Proxmox Backup Server are super easy when segregated this way

    • punkcoder@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      This. Unless you want to go through the hell of multiple redundant architecture to deal with updates breaking things and backups. If you are The only person who is maintaining the multiple services that you’re running the backup feature alone is the reason to go with Proxmox. Upgrade to a lcx container didn’t go like you thought it would, roll back the backup, 30 sec and done. Also making liberal use of alpine have made it smooth and simple.

  • WhyJiffie@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    docker in a vm in proxmox!

    no but really. I don’t like that the vm host’s kernel is shared with all the containers.
    then maybe have 2 or 3 VMs, one of which hosts essential services (not like your nextcloud, but services that are necessary to make the (internal or whole home) network work like DNS and DHCP, maybe monitoring, and another that hosts your convenience services (jellyfin, nextcloud). the first is easier to fix if it breaks, the second is not the end if the world if it does. maybe also have a third for services that would be painful to have offline (nextcloud), but try to limit it to few tasks because the goal is simplicity. this setup can help with distro upgrade difficulties, and vm custom configuration issues when you have set up something that seems to work but will prevent VM startup sometime in the future.

    podman could be a good idea too.

  • Miggi@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Maybe use Docker with a UI like lazydocker or Portainer.

    If you feel safe with Docker, perhaps experiment with Proxmox as a base. Then you can separate your environments into different VMs.