Run Solr 4.10.4 in a Docker container, and mount your core directory as a volume
1.0K
../cores/core0/conf/schema.xml
../cores/core1/conf/schema.xml
../cores/coreX/conf/schema.xml
../cores/solr.xml
<?xml version="1.0" encoding="UTF-8" ?>
<solr persistent="false">
<cores adminPath="/admin/cores" host="${host:}" hostPort="${jetty.port:8983}" hostContext="${hostContext:solr}">
<core name="core0" instanceDir="core0" />
<core name="core1" instanceDir="core1" />
<core name="coreX" instanceDir="coreX" />
<shardHandlerFactory name="shardHandlerFactory" class="HttpShardHandlerFactory">
<str name="urlScheme">${urlScheme:}</str>
</shardHandlerFactory>
</cores>
</solr>
$ docker run -v /absolute/path/to/cores/:/opt/solr/config/cores/ -p "8983:8983" dirkmoors/solr
Then you can visit our browser at http://localhost:8983/solr/
Profit!
Content type
Image
Digest
sha256:1289516be…
Size
307.9 MB
Last updated
almost 11 years ago
docker pull dirkmoors/solr