Running Elasticsearch docker container with another user


(Rosmi) #1

We are installing Elasticsearch from elasticsearch docker images to customers. Elasticsearch containers are running as default elasticsearch user. We have a requirement to take an arbitrary user at install time and run elasticsearch containers with that. Can you suggest a way to achieve this.