Docker volume is not getting created for tomcat webapp, how to fix that?

Alternatively, when using Linux, you may decide to access the Docker-managed volumes from the host directly. I have never done that (and the documentation says “Non-Docker processes should not modify this part of the filesystem”). But apparently that’s okay: