On 2023-07-15 7:10 PM, Hisashi Kojima wrote:
FYI, MySQL and PostgreSQL images support an arbitrary user other than root.
Basically, if you have a single self-contained stand-alone daemon, and all it needs is to write to a mounted volume, all you need is for the UID:GID that the daemon runs as to 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.
Dima