Re: Running Solr as an arbitrary user

2023-07-15 Thread Hisashi Kojima
I use solr-docker with the server in my university lab. > Are you using numeric uid/gid in that config, or names? Yes, I use numeric uid/gid. > Unless I'm mistaken one of the primary benefits of using docker is that > you can avoid having to heavily customize things in each application > so that

Re: Running Solr as an arbitrary user

2023-07-15 Thread Hisashi Kojima
ourgid" \ > .. etc > > Build an image from that: > docker image build -t mysolr . > > When running it: > docker run --user "$(id -u):$(id -g)" mysolr -p …. > > Installing and running Docker as non-root user is hard enough, if you > succeeded that solr par

Re: Running Solr as an arbitrary user

2023-07-15 Thread Hisashi Kojima
match the UID:GID on the volume. > Solr is not a single self-contained stand-alone daemon, there's a bit > more to it. So you can't do that, or at least not easily. OK. Thank you for your answer. Hisashi 2023年7月16日(日) 11:30 dmitri maziuk : > On 2023-07-15 7:10 PM, Hisashi Koj