I’m trying to make a UrBackup container to work on a remote (Samba share) volume.
Already read this
Still cannot make my container work (use the volume)
I create the volume like so:
docker volume create \
--driver local \
--opt type=cifs \
--opt device=//192.168.1.1/G/ \
--opt o=addr=192.168.1.1,username=the_user,password=the_password,file_mode=0777,dir_mode=0777 \
--name urbackup
Then, I create the container:
docker run -it -d \
--name UrBackup \
--restart unless-stopped \
-e PUID=1000 \
-e PGID=100 \
-e TZ=America/Argentina/Buenos_Aires \
-v urbackup:/backups \
-v urbackup:/var/urbackup \
--network host \
uroni/urbackup-server:latest
I get the following error when I start it
docker: Error response from daemon: failed to mount local volume: mount //192.168.1.1/G:/var/lib/docker/volumes/urbackup/_data, data: addr=192.168.1.1,username=the_user,password=the_password,file_mode=0777,dir_mode=0777: no such file or directory.
This does not happen when I use a local volume, but since I’m using a TP-Link router a stop-gap between a NAS, I thought I could give it a try.