Logstash container stops when Elasticsearch uses host volume

Hello, I set up a ELK stack on my Mac.
To preserve Elasticsearch data, I’m running its container with a -v option pointing to a local directory on the host mapping the /data directory of Elastic.
This is apparently working properly, however I’ve encountered an annoying issue: very often, while Logstash (on another container) pipeline is up and running, Logstash container suddenly stops, and I can’t figure out why.
Please note that if I run elasticsearch without the -v option (that is using the embedded-in-the-Dockerfile volume) everithing works properly and it’s stable.
It seems like some interaction issue between Docker VM and the host.