new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Docker.java
public static boolean login(String registryName, String username, String password) {
    String cmdToExecute = String.format("docker login %s -u %s -p \"%s\"",
        registryName, username, password);
    return new Command()
        .withParams(new CommandParams()
            .command(cmdToExecute))
        .execute();
  }
/**
   * Log in to a Docker registry.
   * @param registryName registry name
   * @param username user
   * @param password password
   * @return true if successful
   */
Log in to a Docker registry.
@param registryName registry name
@param username user
@param password password
@return true if successful
Log in to a Docker registry . @param registryName registry name @param username user @param password password @return true if successful
public static boolean login(String registryName, String username, String password) {
    String cmdToExecute = String.format("docker login %s -u %s -p \"%s\"",
        registryName, username, password);
    return new Command()
        .withParams(new CommandParams()
            .command(cmdToExecute))
        .execute();
  }
public static boolean login ( String registryName , String username , String password ) { String cmdToExecute = String . format ( "docker login %s -u %s -p \"%s\"" , registryName , username , password ) ; return new Command ( ) . withParams ( new CommandParams ( ) . command ( cmdToExecute ) ) . execute ( ) ; }
Log in to a Docker registry.
Log in to a Docker registry .