Is there a way to share a folder with a docker container for hosting?
For example, I have a tomcat inside the docker container, and I want it to be visible from the outside.
If I do this volumes: - / opt / tomcat: / opt / tomcat
I get an error in the container: "There is no such file or directory /opt/tomcat/bin/catalina.sh"
source share