Should I be learning docker compose instead of relying on dockStarter to manage my containers? I got portainer up, should I just use that to manage my stack?

I’m committed this summer to finally learning docker. I’m on day 3 and the last puzzle piece is being able to access qbittorrent locally while running the container through the vpn.

  • palitu@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    i used dockStarter for a while, but ultimately moved away from it to roll my own docker-compose. This was a few years ago though.

    For me, i always want to make it fit with how i want to run my server, so a lot of the times i wanted to adjust the settings. The other big thing is that I always find services not in the library, so need to learn it anyway.

    There is nothing (i dont think) stopping you from doing both!

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    If you’re learning in any kind of professional capacity, you may want to get familiar with running things on k8s. I would never deploy Compose in any kind of production environment.

    • peregus@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      I would never deploy Compose in any kind of production environment.

      May I ask you why?

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        Aside from the myriad issues it has on its own, the easiest answer is: it doesn’t scale on multiple machines and instances.

        Example: I have 10 services in a compose file, and I need each service to scale independently across multiple servers. Which is easier, more reproducible, and reliable: controlling the docker compose state across many instances, or communicating with a central management service with one command to do it all for me?

        • towerful@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          Sure, but what you are describing is the problem that k8s solves.
          I’ve run plenty of production things from docker compose. Auto scaling hasn’t been a requirement, and HA was built into the application (so 2 separate VMs running the compose stack). Docker was perfect for it, and k8s would’ve been a sledgehammer.

          • just_another_person@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            No, then you’re just orchestrating the service level stuff, and nothing else. Docker’s tools will never compare to cluster scaling efforts where the entire horizontal layer to be scaled can be orchestrated from the instance up to containers.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    HA Home Assistant automation software
    ~ High Availability
    VPS Virtual Private Server (opposed to shared hosting)
    k8s Kubernetes container management package

    3 acronyms in this thread; the most compressed thread commented on today has 17 acronyms.

    [Thread #781 for this sub, first seen 3rd Jun 2024, 13:15] [FAQ] [Full list] [Contact] [Source code]

  • synae[he/him]@lemmy.sdf.org
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 month ago

    Never heard of dockStarter so I’m gonna say yes

    Compose is good for getting started, and might be sufficient for a long time. Eventually I moved to k8s but I also use that for work so it was an easy move for me.