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.

      • TedZanzibar@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        Thirded. It’s helped me a lot with picking up the compose syntax, to the point that I’m now comfortable combining disparate services into their own stacks. And I can spin something up from an example compose in less than a minute.

    • Adam@doomscroll.n8e.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      5 months ago

      I’ve not used dockge so it may be great but at least for this case portainer puts all the stack (docker-compose) files on disk. It’s very easy to grab them if the app is unavailable.

      I use a single Portainer service to manage 5 servers, 3 local and 2 VPS. I didn’t have to relearn anything beyond my management tool of choice (compose, swarm, k8s etc)

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      It doesn’t seem to have the webhooks functionality that Portainer has though.

    • fjordbasa@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      It also works in the “other” direction- if you’re already using compose files, you can point dockge to their existing location (stacks directory) and it will scan and pick them up!

    • Nibodhika@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      That’s the one I use exactly because of that. I know compose, not going to learn another program to do the same, just want something that gives me an easier way to edit them than sshing into my box and using an editor.

  • synae[he/him]@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    5 months ago

    Never heard of dockStarter so I’m gonna say yes

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

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months 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
      4
      ·
      5 months 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
        3
        ·
        5 months 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?

          • just_another_person@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months 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.

        • towerful@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months 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.

  • perishthethought@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 months ago

    Yah, IMO, if your goal is to learn how to really use and maintain Docker, then you don’t want a script getting in the way. Also IMO, DOcker is not that hard to learn (not that I am an expert yet).

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

    Yes, in an ideal world, you would learn all the tools the software offers so when a third party tool come along you know what problem it is trying to solve.