How to create folder sturcture inside the docker and mount them to host os (local) to collect the log information

Hi All,

I want to create folder structure for my project inside the container and those folder should be mapped to my local pc for collecting of logs

Folder structure will be

  1. Main
    1.1 settings
    1.2 logs
    1.3 others

and the same information should be copied into my local machine without lossing the data .

can some one help me out on this.