protected void printDockerEvents() {
    try {
      runCmdAndPrintStreams(new String[] { "docker", "events", "--since", "24h", "--until", "0s" }, 3);
    } catch (Exception e) {
      LOG.warn("A problem was encountered while attempting to retrieve Docker events (the system made an analytical"
          + " best effort to list the events to reveal the root cause). No further actions are necessary.", e);
    }
  }
Determine if the docker container is ready to use.

@param pr output of docker logs command
@return true if ready, false otherwise
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/dbinstall/rules/DatabaseRule.java