Solr: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
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. This gets you into the machine where Docker is running, not into the solr container. But you can run docker commands there.
You go to Kitematic and click on "Exec" and it will open a Terminal window with a shell prompt. At least it does with Solr.
 
[File:kitematic_exec.png]
 
You can also go to the console in VirtualBox, but 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]]

Revision as of 19:21, 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

official Solr Docker repo

Solr Home Page

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

How do I get shell access?

You go to Kitematic and click on "Exec" and it will open a Terminal window with a shell prompt. At least it does with Solr.

[File:kitematic_exec.png]

You can also go to the console in VirtualBox, but 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