anshumg commented on a change in pull request #141:
URL: https://github.com/apache/solr/pull/141#discussion_r638073423



##########
File path: README.md
##########
@@ -90,6 +90,36 @@ Common options are described in some detail in 
solr/README.txt.  For an
 exhaustive treatment of options, run `bin/solr start -h` from the `solr/`
 directory.
 
+### Running Solr in Docker
+
+You can run Solr in Docker via the [official 
image](https://hub.docker.com/_/solr).
+
+To run Solr in a container and expose the Solr port, run:
+
+`docker run -p 8983:8983 solr`
+
+In order to start Solr in cloud mode, run the following.
+
+`docker run -p 8983:8983 solr solr-fg -c`
+
+For documentation on using the official docker builds, please refer to the 
[DockerHub page](https://hub.docker.com/_/solr).
+Documentation up to date with this branch, useful for running locally-built 
images, can be found in the [reference 
guide](solr/solr-ref-guide/src/running-solr-in-docker.adoc).

Review comment:
       how about rephrasing this to 
   ```Up to date documentation for running locally built images of this branch 
can be found ....```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to