The host is Liunx opened by win7 using virtualBox, and then uses doc to build the service. using virtualBox enhancement, shared folders, liunx and modifications on win7 can be synchronized. but using doc to load this folder is not good? How do I get docker to load this shared folder?
volumes:
- ./wwwroot:/home/wwwroot
wwwroot/a
This folder a is mounted by virtualBox share.
Mount -t vboxsf <win7 shared folder > wwroot/a
Yes, you have provided too few screenshots, but I have also encountered the phenomenon of asynchronous code modification in Virtualbox. You can try F12 and find that there are a lot of random codes at the bottom. I have not been clear about this, so I directly changed to vmware.