Docker exec-it dataenhancer sh into dataenhancer container
Configuration file Address Cd/home/skycloud/tomcat/webapps/dataenhancer-provider-0.1/web-inf/classes
If you need to overwrite the file, you must copy the configuration file to a directory on the Linux system (this time is/home/config.properties) before overwriting can be performed
To execute a file overwrite statement:
Docker Cp/home/config.properties dataenhancer:/home/skycloud/tomcat/webapps/dataenhancer-provider-0.1/web-inf/ Classes/config.properties
CP followed by changed file Dataenhancer container name: file to overwrite
Method One: If you want to exit gracefully without closing the container, press Ctrl+p+q to exit the container
Method Two: If you exit with exit, the container is closed after exiting and can be recovered using the following process
- To restart a container using the Docker restart command
- Entering a container using the Docker attach command
Linux enters the Docker container and performs file overwrite