public static void validate(String image) {
        // Validation will be triggered during construction
        new ImageName(image);
    }
Check whether the given name validates agains the Docker rules for names

@param image image name to validate
d@throws IllegalArgumentException if the name doesnt validate
src/main/java/io/fabric8/maven/docker/util/ImageName.java