07 solr installation by docker

solr is an enterprise search application server. This article will install solr by docker.

1, get solr 7.4.0

docker pull solr:7.4.0

2, starting solr

docker run --name mysolr -d -p 8983:8983 -t solr:7.4.0

3. Create collection1

docker exec -it --user=solr mysolr bin/solr create_core -c collection1

4, to see if a successful start

Access http://192.168.100.192:8983/solr in the host machine, you can view.

Guess you like

Origin www.cnblogs.com/alichengxuyuan/p/12581375.html