solr - TuPengXiong/TuPengXiong.github.io GitHub Wiki
docker solr install version 6.5.1
serach solr
docker search solr
pull solr
docker pull solr
run solr container
mkdir mysolrhome
sudo chown 8983:8983 mysolrhome
docker run -itd -p 8983:8983 -v $PWD/mysolrhome:/mysolrhome \
--name=solr -e SOLR_HOME=/mysolrhome solr \
bash -c "cp -R /opt/solr/server/solr/* /mysolrhome && exec docker-entrypoint.sh solr"
create solr core
docker exec -it --user=solr solr bin/solr create_core -c gettingstarted
http://localhost:8983/solr/#/
结果 访问