public SolrContainer withConfiguration(String name, URL solrConfig) {
        if (StringUtils.isEmpty(name) || solrConfig == null) {
            throw new IllegalArgumentException();
        }
        configuration.setConfigurationName(name);
        configuration.setSolrConfiguration(solrConfig);
        return self();
    }
@deprecated use {@link #SolrContainer(DockerImageName)} instead
modules/solr/src/main/java/org/testcontainers/containers/SolrContainer.java