@Override
    public boolean check() {
        try {
            return ping();
        } catch (IOException exception) {
            // Could occur and then the check is always considered as failed
            log.debug("Check failed due to %s: %s", exception.getMessage(), exception);
            return false;
        }
    }
Ping the given URL

@param url URL to check
@param method HTTP method to use
@param status status code to check
src/main/java/io/fabric8/maven/docker/wait/HttpPingChecker.java