The most likely explanation is that this is due to two reasons:
You are bind mounting files directly into the container (rather than directories)
Your keystore format is out of date.
Because of (2) Elasticsearch tries to rewrite the keystore into a new format, but because of (1) it cannot because it doesn't have a writeable directory.
You should be able to fix this be either
bind mounting a writeable config/ directory into the container
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.