To dump data from Elasticsearch to local, I used elasticsearch-dump. Here are my notes.
https://github.com/elasticsearch-dump/elasticsearch-dump
By using the v option as shown below, files created in the container persist on the host side. The limit option and others are optional.
Specifically, it looks like the following.
I hope this serves as a helpful reference.