new-integration-tests/src/test/java/oracle/weblogic/kubernetes/assertions/impl/Docker.java
public static boolean doesImageExist(String searchString) {
    CommandParams cmdParams = Command.defaultCommandParams()
        .command(String.format("docker images | grep %s", searchString))
        .saveResults(true)
        .redirect(false);

    return Command.withParams(cmdParams)
        .executeAndVerify(searchString);
  }
/**
   * Check if the Docker image containing the search string exists.
   * @param searchString search string
   * @return true on success
   */
Check if the Docker image containing the search string exists.
@param searchString search string
@return true on success
Check if the Docker image containing the search string exists . @param searchString search string @return true on success
public static boolean doesImageExist(String searchString) {
    CommandParams cmdParams = Command.defaultCommandParams()
        .command(String.format("docker images | grep %s", searchString))
        .saveResults(true)
        .redirect(false);
    return Command.withParams(cmdParams)
        .executeAndVerify(searchString);
  }
public static boolean doesImageExist ( String searchString ) { CommandParams cmdParams = Command . defaultCommandParams ( ) . command ( String . format ( "docker images | grep %s" , searchString ) ) . saveResults ( true ) . redirect ( false ) ; return Command . withParams ( cmdParams ) . executeAndVerify ( searchString ) ; }
Check if the Docker image containing the search string exists.
Check if the Docker image containing the search string exists .