Apache Solr Docker Container Image

November 7, 2025 · View on GitHub

Build Status Docker Pulls Docker Stars

Docker Images

This Solr image runs in Solr Cloud mode by default, set SOLR_STANDALONE=1 to run in standalone.

❗️For better reliability we release images with stability tags (wodby/solr:9-X.X.X) which correspond to git tags. We strongly recommend using images only with stability tags.

Supported tags and respective Dockerfile links:

Supported architectures

All images built for linux/amd64 and linux/arm64

Environment Variables

VariableDefault ValueDescription
SOLR_HEAP1024m
ZK_HOST
SOLR_CLOUD_PASSWORD
SOLR_STANDALONESet to any non-empty value to run in standalone mode

Orchestration actions

Usage:

make COMMAND [params ...]

commands:
    create (default) core [host config_set instance_dir]
    create-collection collection num_shards config [host] 
    init [host] 
    upgrade 
    ping core [host]
    reload core [host]
    delete core [host]
    update-password username password new_password [host]
    add-admin-user admin_username admin_password user password [host]
    check-ready [host max_try wait_seconds]
 
default params values:
    host localhost
    config_set data_driven_schema_configs (or _default in newer versions)
    max_try 1
    wait_seconds 1
    delay_seconds 0

Deployment

Deploy Solr to your server via Wodby Wodby: