- docker-compose run app bash # get inside container
- app$ echo "<p>this was added from inside the container</p>" >> /usr/local/tomcat/webapps/ROOT/index.html # make changes to the container file
- app$ exit # get back to the host
- exit
- $ cat index.html
Raw Paste