Accessing Host Network from Docker Container

On a Linux system, the command below will print out the ip address your device has on the network docker sets up between containers and host system. The only thing that needs to be wary of host services can't serve to localhost or they must serve to

ip -4 addr show docker0 | grep -Po 'inet \K[\d.]+'
Hello World!

71 words