Docker network host

Hi

we are using docker host network . so when my application is connect to external network using outbound connection some times it is getting socket time out . we didn’t see this behavior in normal app(without container) .

so I am thinking am I missed any settings or configurations ? i am using host network only

if i use host network how the behavior of IPtables ? we dont setup any IPtables at host level .

how the packet transformation will happen in host network ?

network=host literaly makes the container hook into the host’s networks namespace and is network-wise like every other native process on the host.

It high likely that your observation is coincidental and will happen, under the same curcumstances (same machine, same process), with the process beeing run as a native process as well.