Hey Anil,

If you want to execute anything before Solr starts, you can do the
following: -

mkdir initdb; echo "echo hi" > initdb/hi.sh
docker run -v $PWD/initdb:/docker-entrypoint-initdb.d solr
Using the above, you can have any script executed before Solr starts.

Source:
https://github.com/docker-solr/docker-solr/blob/master/8.8/scripts/run-initdb

Hope this helps. Please feel free to ask any further questions.

I am replying to this mailing list for the first time. If I am not
following any convention, please let me know.

Thank you,
Prabhatika

On Fri, Feb 26, 2021 at 11:32 AM anilkumar panditi <
anilkumar.pand...@gmail.com> wrote:

> Hi,
> I am first time user of the apache Solr, and i have brought up the Solr as
> docker container , and i am unable to install/enable someplugins
> (authentication,authorization etc)..
> Could you please help. how to add these plug ins to solr which is running
> as docker container.
>
> Thanks
> Anil
>

Reply via email to