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.

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

      And it will convert a docker run command to a compare file.

      And it has a beta feature where you can point it at a second server and it will manage that too.

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

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

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

    • fjordbasa@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 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!

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

  • perishthethought@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 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).

  • brewery@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    I would recommend it as it is fairly easy to understand and most Foss services give you an example to use. You can also convert docker run examples to compose (search docker composeriser) although it doesn’t always work.

    I found composer files easier when learning it, to digest what is going on (ports, networks, depends_on etc) and can compare with other services to see what is missing (container name, restart schedule etc). I can then easily backup the compose files, env files and data directories to be able to very quickly get a service up again (although DBs are trickier but found a docker image that I can stick on the compose files which backups the DB dumps regularly)

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

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

    I’ve been using DockSTARTer for years and it does what I need, when I need it.

    If the goal is to learn, then go for learning Docker directly.

    If the goal is to do it well and quickly, don’t reinvent the wheel.