Webdav is mounted in the docker container and cannot be accessed by the host computer.

  docker, question

The host computer and the container have a directory mapping. After starting the container, I went inside and mounted webdav to the corresponding directory. I found that the host computer did not have the corresponding file, and the file could be seen in the container.

图片描述

图片描述

Will it be the same as the problem I encountered before, -v goes outside, but there are two files with the same name in the outside path, with the same permissions and the same name, only one of which can be accessed and deleted, and the other cannot be accessed like a ghost. Later I changed my name to something different and the problem was solved.