Another collector in docker question

Continuing the discussion from Run the "collector" in a Docker Container?:

Hi all and happy Tuesday!
For the ones that are running the collector in a Docker container, how did you enable / set up the FQDN part so that agents can connect to the collector?

As I am working in a small environment <5000 devices, setting up 3 servers per data centre seems crazy (Collector, Orchestrator & Scanner). So hence I wanted to go on the Docker route for this.
One hurdle is that the orchestra is having docker running in the background (docker on docker :D)

Sorted by --network=“host”