I often see people mention the Portainer project and how it’s useful, but I never hear any reason to use it other than as a more user friendly front end to service management.

So is there any particular feature or reason to use portainer over docker’s CLI? Or is it simply a method of convenience?

This isn’t only strictly for self hosting, but I figure people here would know better.

  • Voroxpete@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    12
    ·
    2 hours ago

    Please don’t use Portainer.

    • It kidnaps your compose files and stores them all in its own grubby little lair
    • It makes it basically impossible to interact with docker from the command line once it has its claws into your setup
    • It treats console output - like error messages - as an annoyance, showing a brief snippet on the screen for 0.3 seconds before throwing the whole message in the shredder.

    If you want a GUI, Dockge is fantastic. It plays nice with your existing setup, it does a much better job of actually helping out when you’ve screwed up your compose file, it converts run commands to compose files for you, and it gets the fuck out of the way when you decide to ignore it and use the command line anyway, because it respects your choices and understands that it’s here to help your workflow, not to direct your workflow.

    • heyixen815@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      You can just connect a (local) Git repo to it and store your compose files over there. There should be even an auto-sync (if you’re into that kind of thing).

  • 𝒎𝒂𝒏𝒊𝒆𝒍
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 hours ago

    If you know Linux CLI, is there a reason to use GUI? Same principle CLI gives you more granular control and GUI simplifies a lot of things, gives you more of insight etc

  • walden@sub.wetshaving.social
    link
    fedilink
    English
    arrow-up
    16
    ·
    9 hours ago

    I switched from portainer to dockge. Dockge makes updating a 1-click process which I love. Portainer is overkill for homelab, but I like how it lists things like images and networks.

  • Earth Walker@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 hours ago

    Like many GUIs it makes it so you don’t have to remember and type a bunch of commands to carry out basic tasks. I especially find it convenient for checking logs. But no unique functionality compared to CLI. So it’s a matter of preference.

    • interurbain1er@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 hour ago

      But that’s also why you don’t know the commands in the first place, if you used them you would remember them. It’s self sustaining ignorance ;)

      Ps: I kid, there a lot of stuff I don’t care to remember the cli for and I happily use GUI.

      PPS: docker logs -f container_name ;)

  • Pissio@feddit.it
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    7 hours ago

    I’m using it to manage a little swarm , the useful thing is that is easy to explain to a non IT person how to log in and restart a service if needed.

  • grimer@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 hours ago

    95% of the time I’ll use the CLI but occasionally it’s faster for me to check a bunch of boxes in Portainer and restart entire stacks at the same time instead of going to each one’s folder. Maybe a few other little things like that but you get the idea.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 hours ago

    It’s a good way to have all the different parts exposed to you. Once you’re familiar, it’s usually easier to write those parts up in a compose file and just run or rerun docker-compose.

    • yonder@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 hours ago

      This is exactly what I do. I find Portainer to be nice for getting an overview of my containers that are all created using docker-compose.

  • 𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶@lemmy.procrastinati.org
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    9 hours ago

    Personal preference? I prefer the Portainer’s presentation over the CLI. I especially find it easier to manage networks and volumes.

    But my main reason is I have multiple docker hosts and it gives me a “single pane on glass” to manage everything from.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    9 hours ago

    It’s just a front-end abstraction for different c ontainer backends, so no. I don’t think they have some distinct features that deal in any functionality for the container ecosystem or anything.