Solr: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) Created page with "I have [https://store.docker.com/images/f4e3929d-d8bc-491e-860c-310d3f40fff2?tab=description official Solr] running in a Docker container. When I try to create a core it just..." |
Brian Wilson (talk | contribs) |
||
Line 12: | Line 12: | ||
== How do I get shell access? == | == How do I get shell access? == | ||
You can go to the console in VirtualBox. | 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. | ||
[[File:docker_console.png]] | [[File:docker_console.png]] | ||
This worked to create the "gettingstarted" core. | |||
docker exec -it --user=solr solr bin/solr create_core -c gettingstarted |
Revision as of 01:27, 25 December 2016
I have official Solr running in a Docker container. When I try to create a core it just spits error messages at me.
Docs
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