containerHostIp abstract method

Future<String> containerHostIp()

Returns the host IP address through which the container is reachable.

The returned address depends on the active ConnectionMode:

  • dockerHost → the Docker daemon's host address
  • gatewayIp → the bridge network's gateway IP
  • bridgeIp → the container's own bridge IP

Implementation

Future<String> containerHostIp();