This project aims to help developers and newbies that would try an old version of Solr (pre ver. 5.0) in a Docker environment
- install Docker latest version or Docker for Desktop
If you want start Solr 4.7.0 in a container start with:
git clone https://github.com/freedev/solr-legacy-docker.git
cd solr-legacy-docker
./build-images.sh
./start.sh
Just copy your core into the directory
data/solr-jetty-1/store/solr
Just modify the config/common.sh
file changing the SOLR_VERSION
environment variable accordingly to the version you need:
export SOLR_VERSION=4.7.0
And run the build-images.sh
script again