@Override
  protected void doStart() throws NatInitializationException {
    LOG.info("Starting docker NAT manager.");
    try {
      ipDetector.detectAdvertisedIp().ifPresent(ipFound -> internalAdvertisedHost = ipFound);
      buildForwardedPorts();
    } catch (Exception e) {
      throw new NatInitializationException("Unable to retrieve IP from docker");
    }
  }
Instantiates a new Docker nat manager.

@param ipDetector the ip detector
@param advertisedHost the advertised host
@param p2pPort the p 2 p port
@param rpcHttpPort the rpc http port
nat/src/main/java/org/hyperledger/besu/nat/docker/DockerNatManager.java