Network drive on nodered

I’m trying to access my network drive z(local PC) from docker on an VM. Could access the network drive from another vm without docker and can’t access inside the docker container in the other VM. Using Nodered to get the tail-file of a lof file.

Can anybody help me with this?

Thanks in advance.


How are you starting the nodered container?
You would need to map a folder into the container.

Thanks for the reply. i was simply using docker run with mount command for the volume.

docker volume create --driver local --opt type=ntfs --opt device=//networkdrive-ip/Folder --opt Mdrive

used the above command to create the volume.

Also how to map a folder to a container?