@Override
    public String getLogLabel() {
        return "on tcp port '" + pending + "'";
    }
Check whether a given TCP port is available
src/main/java/io/fabric8/maven/docker/wait/TcpPortChecker.java