To be honest I'm no docker specialist, just a user for convenience. I cannot find an answer to the purpose of these flags
at the end of the docker run command. As I can see, just by adding the -p 8088:8088 flag to publish the listening Ignition port I can manage to reach the gateway from my host: so why should I add -a .... -h ..... -s ......?
Thanks in advance, regards
Those arguments are for specifying the address and ports for public use. The explanation of the docker runtime arguments can be found in the User Manual here and specifics on those web server settings can be found here.
Hallo @avaughn ,thanks for your answer. I've read already the docs, but since the Ignition container runs as expected even if I don't set those flags, I found no use for that. Therefore I was asking for any hints.
Thanks, regards
If your gateway doesn't need to be publicly accessed outside your network then they're not needed, just available as an option. I've personally never used those arguments when running Ignition in Docker.
In almost all cases, the gateway will use relative redirects which means that things normally work without those settings. But there are a few cases where that isn't the case, and being explicit with the public address settings mitigates those.