Hello,

I use solr-docker 9.2.1. 
It works with the user “solr” (default) but does not work with other users.

I run the below docker-compose.yml code with the command “docker compose up":

#########

version: ‘3’
services:
  solr:
    image: solr:9.2.1
    user: “${UID:?}:${GID:?}”

#########

Please replace ${UID:?} and ${GID:?} with your UID and GID.
Above code failed and displayed:


Cannot write to /var/solr as UID:GID
drwxrwx--- 4 solr root 4096 Jul 15 07:49 /var/solr


Can Solr run with except “solr” user?

Thank you!
Hisashi

Reply via email to