Hello everyone, I try to use my unRaid storage with my docker.
I have a server which run docker and Portainer, and I have a unRaid separate (docker isn't in unRaid)
My docker compose look like that :
version: '3'
volumes:
downloads:
driver_opts:
type: "cifs"
o: "username=xxxx,password=xxxx,vers=3.0"
device: "//xxx.xxx.xxx.xxx/Shares/mybook/book"
configs:
driver_opts:
type: "cifs"
o: "username=xxxx,password=xxxx,vers=3.0"
device: "//xxx.xxx.xxx.xxx/Shares/containers/kavita/configs"
services:
tranga-api:
image: glax/tranga-api:latest
container_name: tranga-api
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- downloads:/Manga
- configs:/usr/share/tranga-api
ports:
- "6531:6531"
restart: unless-stopped
tranga-website:
image: glax/tranga-website:latest
container_name: tranga-website
ports:
- "9660:80"
depends_on:
- tranga-api
restart: unless-stopped
When I used this compose but with my docker folders it was working, but when trying to use unRaid to store all, I can't get it to work
I'm a noob in both unRaid and Docker.
If I use the IP, I have this error log :
Creating Error response from daemon: failed to populate volume: error while mounting volume '/home/xxx/docker/volumes/tranga-nas_downloads/_data': failed to mount local volume: mount //xxx.xxx.xxx.xxx/Shares/mybook/book:/home/xxx/docker/volumes/tranga-nas_downloads/_data, data: username=xxx,password=xxx,vers=3.0: no such file or directory
When I use my unRaid name server, I got this :
error resolving passed in network volume address: lookup XXXX on 127.0.0.53:53: server misbehaving
I guess the issue is network side, but I don't know if it's in unRaid config or Docker.
Any help appreciated.
Thank you.