问题
I am new to docker, so please bear with my naive questions. We are trying to host a dot net application in a Windows container. We were successful in hosting the application in the container. However, the application is accessing the network share like \\machinename\abc. We tried to create a volume of type "NFS" but looks like that does not work well in Windows container(How to directly mount NFS share/volume in container using docker compose v3).
volumes:
example:
driver: local
driver_opts:
type: "nfs"
o: "addr=172.27.11.1,nolock,soft,rw"
device: ":/dockerdata"
Can anyone please guide what are the options to access the network share in docker windows container? Thanks a lot for the help.
来源:https://stackoverflow.com/questions/64430814/best-option-to-access-network-share-in-docker-windows-container-with-docker-comp