Currently the nexus3 RM docker image ( sonatype/nexus:3.41.1 ) is configured to run as nexus user and specifies /nexus-data as volume.
I have a need to run the service as nobody user. Through inheriting the OSS image and updating the directory ownership I should be able to run as nobody user. However since /nexus-data is specified as volume, docker does NOT allow changing directory ownership. This causes nexus process not be able to access the data dir as nobody user.
I know this is not the solution you are looking for, but have you considered forking the sonatype/nexus3 Dockerfile and changing USER nexus to USER nobody?