[stork-users] Stork Agent STORK_AGENT_HOST inside Docker
Michael Salathe
msalathe at clairglobal.com
Mon Jan 19 06:36:14 UTC 2026
Hi
I’m running KEA and BIND9 on multiple hosts using docker.
When I was trying to add stork-agent to those, I run into a problem with the STORK_AGENT_HOST variable:
* For registration and to generate the self-signed certificates, it needs to be set to the host IP address
* To start the agent webserver it needs to be set to the docker container IP address(used with net.Listen() )
I couldn’t really find a solution for this, although I imagine other people must run into this problem as well.
What I found is this post, suggesting to use custom certificates. Which is described as “a bit hard to use.”
https://lists.isc.org/mailman/htdig/stork-users/2025-April/000434.html
And I found this issue that was moved to the backlog in 2023:
https://gitlab.isc.org/isc-projects/stork/-/issues/1149
What I ended up doing is replace the host part in this segment with “0.0.0.0”. This allows it to listen on the container IP,
but uses the STORK_AGENT_HOST for everything else:
https://github.com/isc-projects/stork/blob/2ad80e27f71237b0930f36e977ad8f4af726934e/backend/agent/agent.go#L912
I’m wondering if there is an easy solution for this that I am not seeing?
Thanks,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20260119/235c7510/attachment.htm>
More information about the Stork-users
mailing list