Samba Share #175
Replies: 2 comments 1 reply
-
Hello @HSB-collab, according to docker documentation, rprivate us part of bind-propagation and is listed as:
You can try this: You can find more about docker volumes here: |
Beta Was this translation helpful? Give feedback.
-
They can be tricky to work with at times. At least you have it working
natively.
…On Sun, Feb 21, 2021, 10:25 PM HSB-collab ***@***.***> wrote:
Thanks. I am afraid I gave up on the docker containers and just installed
natively on Ubuntu which now works.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#175 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AORTFNFBXEXKEYUHFIUWNJTTAH2DXANCNFSM4X7UJPUA>
.
|
Beta Was this translation helpful? Give feedback.
-
Originally posted by @HSB-collab:
Hi thanks for the Docker Container. Like @giube above, I would like to be able to write my camera recordings to a samba network share. I have set up the samba share using the docker command with the -v option to map my network share to the docker directory location for the media as follows:
docker -v //LAN_network_address_of_share/media:/agent/Media/WebServerRoot/Media/
When I list the volumes in the docker container (using docker inspect -f '{{ .Mounts }}' containerid), I get the following:
{bind /LAN_network_address_of_share/media /agent/Media/WebServerRoot/Media true rprivate}
Note that there is only one forward slash in front of the network address in the bind. I am not sure if this is significant? I also don't know the meaning of 'rprivate'.
However, when I record a video in Agent DVR, it only records to the directory in the Docker container. I have checked that the network share is mounted and that it is writable from the host machine on which the Agent DVR is running (I can write files using File Manager on the docker host), and the permissions are correct.
I have spent hours trying to figure this out but with no success so any suggestions would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions