Install Apache SOLR 4.9.0 in one command using Docker

Hey! Just a quick post to mention my new container for Apache SOLR 4.9.0.

Use:

docker run -d -p 127.0.0.1:2222:22 -p IP_ADDRESS:8080:8080 -t -i tehes/solr-4.9.0

This will pull the solr-4.9.0 image from my public repository, build and run the containers. Just replace IP_ADDRESS with your server's external ip address for example.

The port 2222 of the host will be redirected to the port 22 of the container.
The port 8080 of the host will be redirected to the port 8080 of the container.

Access your container:

http://IP_ADDRESS:8080
http://IP_ADDRESS:8080/solr
ssh [email protected] -p 2222 (password = password // SSH only allowed from the host)

Docker repository : https://registry.hub.docker.com/u/tehes/solr-4.9.0/