What is the recommended way of exposing a SMB share for use within a Docker container, as of 2019?
I’m trying to create a container with qBittorrent, using a Dockerfile from here:
I have created a new SMB share on FreeNAS to use as storage. I mounted this within the Linux host at /home/victorhooi/qbittorrent, but when I try to pass it through as a volume:
docker create \
--name=qbittorrent \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Australia/Sydney \
-e UMASK_SET=022 \
-e WEBUI_PORT=8080 \
-p 6881:6881 \
-p 6881:6881/udp \
-p 8080:8080 \
-v /home/victorhooi/qbittorrent/config:/config \
-v /home/victorhooi/qbittorrent/downloads:/downloads \
--restart unless-stopped \
linuxserver/qbittorrent
The container doesn’t seem to see any of the existing files already on the network share?