code: public final void waitForPort(final String portName, final int timeout, final TimeUnit unit) {
          final Binding binding = getPortBinding(portName);
          waitForPort(binding.getHost(), binding.getPort(), timeout, unit);
      }
docs: Wait for the specified port to accept socket connection within a given time frame.
  
  @param portName
  docker port name, e.g. 9200/tcp
  @param timeout
  timeout value
  @param unit
  timeout units