SMB or NFS mounts presented to container

Hi all

I am running Docker version 18.09.0, build 4d60db4 on Windows 10 via Hyper-V and I want to present some shared storage to a container. The shared storage resides on a NAS where I can run SMB or NFS services.

There are a slew of reports spattered across the Internet from people who have similar thoughts, though many don’t seem definitive. The container is linuxserver/sabnzbd. I’ve tried both the Docker NFS driver mounted via and running it with priviledged mode to try and mount NFS from within the container itself, neither have worked.

Has anyone managed to get SMB/NFS file shares in to a container on Windows at all? If so, how did you do it?


Sure, we have done that.
It is done via a volume mount with some advanced settings in Docker Compose.
You can research in the docs, or ping me later.