Solr

From Wildsong
Jump to navigationJump to search

I have official Solr running in a Docker container. When I try to create a core it just spits error messages at me.

Docs

official Solr Docker repo

Solr Home Page

Solr Reference Guide, a PDF document; includes getting started instructions.

How do I get shell access?

You can go to the console in VirtualBox. This gets you into the machine where Docker is running, not into the solr container. But you can run docker commands there.

This worked to create the "gettingstarted" core.

docker exec -it --user=solr solr bin/solr create_core -c gettingstarted