protected String getDockerContainerName() {
    String suffix = System.getenv("HIVE_TEST_DOCKER_CONTAINER_SUFFIX");
    if (suffix == null) {
      suffix = "";
    } else {
      suffix = "-" + suffix;
    }
    return String.format("metastore-test-%s-install%s", getDbType(), suffix);
  }
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