Home > OS >  Docker - compose mounted container directory to the host machine
Docker - compose mounted container directory to the host machine

Time:09-26

Project use docker - compose choreography mirror start, need to put some files mounted to the host machine is easy to modify configuration, use the volumes attribute
Volumes,
- "./docker/dev/WEB - INF:/usr/local/tomcat/webapps/cas/WEB - INF "
Behind the front is hosting directory, directory is container, started hosting the directory can be created, but the container under the path what all have no, deleted, no volumes can normal boot and access,
A great god, and of all stripes for help, give advice or comments please, novice docker...
  • Related