TEXT   62
docker compose run app bash
Guest on 10th February 2023 02:13:52 PM

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

Raw Paste

Login or Register to edit or fork this paste. It's free.