Currently I’m running some services though Docker on a Proxmox VM. Before I had Proxmox, I thought containers were a very clean way of organizing my system. I’m currently wondering if I can just install the services I always use on the VM directly. What are the pros and cons of that?

  • Scott@lem.free.as
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Containers are just processes with flags. Those flags isolate the process’s filesystem, memory [1], etc.

    The advantages of containers is that the software dependencies can be unique per container and not conflict with others. There are no significant disadvantages.

    Without containers, if software A has the same dependency as software B but need different versions of that dependency, you’ll have issues.

    [1] These all depend on how the containers are configured. These are not hard isolation but better than just running on the bare OS.

    • machinin@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      Thanks for this - the one advantage I’m noticing is that to update the services I’m running, I have to rebuild the container. I can’t really just update from the UI if an update is available. I can do it, it is just somewhat of a nuisance.

      How often are there issues with dependencies? Is that a problem with a lot of software these days?