replace hostname with docker0 IP in order to make it more generic