When I try to mount some file to a docker elasticsearchcontainer, it always has some errors like no such file or directory

You can see these image to understand what I mean. I even run a test container and use ls command to check if the file existed but although it exist in the container, it still shows the error that it missed when I started the container. How can I fix this problem?

log4j2.properties still exist in the last line

One more situation

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.