code: def _get_ip():
      
      cmd_netstat = ['netstat', '-nr']
      p1 = subprocess.Popen(cmd_netstat, stdout=subprocess.PIPE)
      cmd_grep = ['grep', '^0\.0\.0\.0']
      p2 = subprocess.Popen(cmd_grep, stdin=p1.stdout, stdout=subprocess.PIPE)
      cmd_awk = ['awk', '{ print $2 }']
      p3 = subprocess.Popen(cmd_awk, stdin=p2.stdout, stdout=subprocess.PIPE)
      galaxy_ip = p3.stdout.read()
      log.debug('Host IP determined to be %s', galaxy_ip)
      return galaxy_ip
docs: Get IP address for the docker host