Apache Solr open-source search software
SOLR-15241: Add Docker & Kubernetes info to the README (#141)
Houston Putmanf7a3f7e8d265
diff --git a/README.md b/README.mdindex 1118a35ed50..4ba4982df66 100644--- a/README.md+++ b/README.md@@ -90,6 +90,37 @@ Common options are described in some detail in solr/README.txt. For anexhaustive 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).+Up to date documentation for running locally built images of this branch can be found in the [local reference guide](solr/solr-ref-guide/src/running-solr-in-docker.adoc).++There is also a gradle task for building custom Solr images from your local checkout.+These local images are built identically to the official image except for retrieving the Solr artifacts locally instead of from the official release.+This can be useful for testing out local changes as well as creating custom images for yourself or your organization.+The task will output the image name to use at the end of the build.++`./gradlew docker`++For more info on building an image, run:++`./gradlew helpDocker`++### Running Solr on Kubernetes++Solr has official support for running on Kubernetes, in the official Docker image.+Please refer to the [Solr Operator](https://solr.apache.org/operator) home for details, tutorials and instructions.+### Gradle build and IDE support- *IntelliJ* - IntelliJ idea can import the project out of the box.