private boolean isPasswordJson(String password) {
        try {
            ObjectMapperFactory.jsonMapper().readTree(password);
        } catch (JsonProcessingException e) {
            return false;
        }
        return true;
    }
@param registry
@param username
@param password
@return docker --config ConfigFile login registry -u username -p password
commons/src/main/java/io/hyscale/commons/commands/provider/ImageCommandProvider.java