centos7 docker run tomcat 404 reasons

https://hub.docker.com/_/tomcat which introduced webapps directory to access the deleted file, by entering a catalog Tomcat container empty WebApps and webapps.dist directory, webapps directory delete, rename directory webapps.dist webapps directory to regain access to the command into the container to access the directory: docker exec -it container ID bash

Rm -rf folder name, you can delete it.

New folder:
mkdir folder name

Edit folder name:
for example:
before.txt before modifying the file name
after.txt is going to change the file name

Instruction can be modified using mv

Published 10 original articles · won praise 0 · Views 288

Guess you like

Origin blog.csdn.net/wzwwzwwww/article/details/104347247