Docker dosen't set the host or at least there is no easy way to find out what it is. I tried multiple hosts like the container name, IP, and so on... none of them worked. This should allow an "all" option that just disables it.
Do all IDEs set host header? I'd only check it it is specified.
Originally posted by @yury-s in #37541 (comment)