Is there any way to change the uid of the elasticsearch user in the oss elasticsearch docker image without rebuilding the image ?
I'm using docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.2, and I can see that elasticsearch has a uid of 1000. This is a reserved uid in my environment, so I need to change this to 1001.
Ideally I want to keep using upstream without owning the maintenance of the image, but just change this. Is there any simple way to do this ?