Jump to content

Cant connect docker to my shared unRaid folders


Recommended Posts

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.

Edited by Exxaxion
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...