private static List<ImageConfiguration> resolveConfiguration(Resolver imageResolver,
                                                                 List<ImageConfiguration> unresolvedImages) {
        List<ImageConfiguration> ret = new ArrayList<>();
        if (unresolvedImages != null) {
            for (ImageConfiguration image : unresolvedImages) {
                ret.addAll(imageResolver.resolve(image));
            }
            verifyImageNames(ret);
        }
        return ret;
    }
Initialize and validate the configuration.


@param images the images to check
@param apiVersion the original API version intended to use
@param nameFormatter formatter for image names
@param log a logger for printing out diagnostic messages
@return the minimal API Docker API required to be used for the given configuration.
src/main/java/io/fabric8/maven/docker/config/ConfigHelper.java