Modify Portainer Container

  • Does anyone know if there's a way to modify the configuration of the Portainer container that is installed with Docker under OMV-Extras? I've tried Duplicate/Edit from within Portainer, but the container doesn't start back up, and the changes don't stick. I'm trying to add the "--no-auth" command to the configuration to disable authentication because I intend to use http auth instead.


    Thanks.

  • That seems to be a side effect of using Portainer to edit itself. I couldn't get it to work.


    Have you tried deploying Portainer with a docker command in the shell instead of using OMV-Extras, adding --no-auth that way?

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • That's a really good suggestion. I don't know why I didn't think of something so obvious. I'll remove the Portainer container via OMV-Extras, and add a new one to my Docker compose file. Trying it out now...

  • Well, the new Portainer container is working fine, but the --no-auth command did not work at all. At least I can control the config now, and I'll do some more research. Thanks for the help.

  • dildano

    Hat das Label gelöst hinzugefügt.
  • I got it to work with the --no-auth command. Here's my Docker compose section:

    This is nice because I can use http auth via my LetsEncrypt container, and I don't get hit with another authentication prompt.

  • Nice.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!