-
-
Save fhdalikhan/6673d4b04fef66c7089fba4036b24846 to your computer and use it in GitHub Desktop.
docker solr 4 running instructions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
some helpful instructions when I have to change my laptop | |
clone solr 4 image from https://github.com/fhdalikhan/docker-solr4 | |
on windows don't use git bash, use windows terminal with ubuntu using WSL 2, otherwise will get erros due to line endings being CRLF, which should be LF instead. | |
build using: | |
docker build -t solr4 . | |
run using: | |
// docker run -d -p 8983:8983 --name my_solr4 -P solr4 | |
this instead as I can specify the path to cores folder | |
docker run --name solr4_latest -v c:/path-to-solr-projects:/opt/solr/example/solr -d -p 8983:8983 -P solr4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment