Elasticsearch on docker: Volume mounted as root user leading to permission issue

There's no drawback that I'm aware of.

Our recommendation is that you always mount your data folder at /usr/share/elasticsearch/data regardless of which Docker storage driver is providing the underlying storage. Elasticsearch doesn't know or care what the storage driver is, it just cares about the mountpoint.