Can't create lock file when sharing data.path folder between docker and host

Hi Json,

Here are some more background details:
I used Alpine docker Elasticsearch v5.2.2 running on ubuntu16.04 (cloud image).
Cinder volume is not connected to my cloud so I currently just want to store my data in home directory of ubuntu.

sblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sr0 iso9660 config-2 2017-04-07-13-37-53-00
vda
└─vda1 ext4 cloudimg-rootfs b14f53da-7bc9-4604-a014-341f669f87c0 /

blkid
/dev/vda1: LABEL="cloudimg-rootfs" UUID="b14f53da-7bc9-4604-a014-341f669f87c0" TYPE="ext4" PARTUUID="f1917857-01"
/dev/sr0: UUID="2017-04-07-13-37-53-00" LABEL="config-2" TYPE="iso9660"

uname -a
Linux docker-vm-0 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@docker-vm-0:~/Dockers/elasticsearch2$ cat /etc/issue
Ubuntu 16.04.1 LTS \n \l

I start my mongodb docker in the same way and I do not have any problem whatsoever whit in this case.

Br Mathias