Method of setting up the volume for elasticsearch for docker containers seems to change between version. We have a 128GB drive dedicated to the docker volume directory. We want to create presistant storage to the container and the storage directory. We can exec into the container and see that the container can see the drive. The command we use to deploy the container is:
sudo docker run --cap-add=IPC_LOCK --restart always --ulimit memlock=-1:-1 --ulimit nofile=65536:65536 -d --name elasticsearch --publish 9200:9200 --publish 9300:9300 --volume /docker/volumes/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml --volume /docker/volumes/elasticsearch/config/jvm.options:/usr/share/elasticsearch/config/jvm.options --volume /docker/volumes/elasticsearch/data:/usr/share/elasticsearch/data --volume /docker/volumes/elasticsearch/logs:/usr/share/elasticsearch/logs docker.elastic.co/elasticsearch/elasticsearch:6.2.2
However, on the Kibana Dashboard:
It shows 50GB of total disk available for a five node cluster but each node container is suppose to have a volumes set for /docker/volumes/elasticsearch/data with a size of 128GB.
What can be causing this issue?
Thanks