Yo,

Wandering what the limit is when it comes to how many containers I can run. Currently I’m running around 15 containers. What happens if this is increased to say, 40? Also, can docker containers go “idle” when not being used - to save system resources?

I’m running a i7-6700k Intel cpu. Doesn’t seem to be struggling at all with my current setup at least, maybe only when transcoding for Jellyfin.

  • sugar_in_your_tea
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    Looks like 9? Here’s what I’m currently running:

    • actual budget
    • caddy (for TLS trunking)
    • nextcloud and collabora
    • vaultwarden (currently unused)
    • jellyfin
    • home assistant

    The rest are databases and other auxiliary stuff. I’m probably going to work on it some this holiday break, because I’d like to eventually move to microOS, and I still have a few things running outside of containers that I need to clean up (e.g. Samba).

    But yeah, like others said, it really doesn’t matter. On Linux (assuming you’re not using Docker Desktop), a container is just a process. On other systems (e.g. Windows, macOS, or Linux w/ Desktop), they run in a VM, which is a bit heavier and reserves more resources for itself. I could run 1000 containers and it really wouldn’t matter, as long as they’re pretty light.

    • antimongo@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Been curious about deploying HA with docker. As I understand the only limitation is you can’t use add-ons?

      • lorentz@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        15 hours ago

        You cannot install addons from the UI, but you can manually install them. Addons are just Docker containers that get configured automatically.