I’m trying to understand cluster yaml config (and in general the way the head node docker setup). This is my case: I’ve started the head with some custom dashboard IP:PORT setup:
However the ports are not published. I see some messages saying, that Published ports are discarded when using host network mode. But… I can not see any entry enabling host mode…???
Also with --dashboard-host=0.0.0.0 --dashboard-port=8266 dashboard binds to docker container IP:
And as for your question - without port publishing entry (-p 8266:8266 not present in run_options) dashboard is still having issues while binding to local host IP.
But… Now I see that it’s (of course) OK - when running in container I can not bind to my local host IP, I should rather use container IP through $RAY_HEAD_IP. So having the following:
I get the dashboard connected do container (ray head) IP and specified port, but… It’s not in my host network… (it’s having docker default subnet) - while in --net=host it should be (as far as a understand things correctly).
So I can not access it from my host (without port being published - which is not possible in host mode).