I need to add a few more lines of configuration to a few of my containers. I mostly need to add a few more IP mappings to /etc/hosts through extra_hosts. I have tried using the Labels but that doesn’t seem to yield the expected results. Am i doing something wrong?
i fixed my specific current problem by using dns records on the network level but i would still hope to find a solution for something like this with other settings.
Labels - afaik - are just metadata, they are not supposed to do anything.
Instead extra_host Is a part of the service config (unless there is something i barely miss).
Honestly i may say that the result of your attempt Is what to expect → not working; but i don’t know what to suggest about add custom settings like extra_host..
custom settings? is there something in the interface i am missing? b/c in some cases it’s really useful to add more stuff to the service config that’s isn’t exposed in the default questions (and also don’t actually need to be there for most people)
Honestly i don’t think is possible to bind something at service level via the GUI, at least giving a quick look into it.. but i don’t use the app catalogue (i manage everything via Portainer), may i be wrong or can be something already suggested as feature request and in progress.
Hope someone else can be more specific
They’re not going to do this. The apps are already a complete disaster, and are best avoided. Best to just install Dockge or Portainer, and install all your apps in that with docker-compose, and stop trying to get this awful, clunky app system in TN to do something it was never designed to do.