docker-webdav-client icon indicating copy to clipboard operation
docker-webdav-client copied to clipboard

Docker Shared Folder issue

Open Badn1nja opened this issue 2 years ago • 3 comments

docker: Error response from daemon: path /mnt/tmp is mounted on / but it is not a shared mount.

Does anyone know what is going on here? this is docker running on an LXC in proxmox

Badn1nja avatar Feb 20 '23 10:02 Badn1nja

I have the same Problem, is there a solution for this Problem

khakan69 avatar Sep 22 '23 10:09 khakan69

I have not tested this since but being more competent with Linux I would say the /tmp needs to be chmod to shared. LXCs can be confusing with permissions

Badn1nja avatar May 22 '24 21:05 Badn1nja

Ran into this issue as well

Here is how I solved it, set the OWNER variable

  webdav-client:
    container_name: stack
    image: efrecon/webdav-client
    environment: 
      - WEBDRIVE_USERNAME=123
      - WEBDRIVE_PASSWORD=abc
      - WEBDRIVE_URL=https://123.abc.com/remote.php/webdav
      - OWNER=1000
    devices:
      - /dev/fuse
    cap_add:
      - SYS_ADMIN
    security_opt:
      - "apparmor=unconfined"
    volumes:
      - /mnt/user/transip-stack:/mnt/webdrive:rshared
    restart: always

It results in the owner of your unraid system begin used on the share image

The owner 1000 is my local user 'timdows', and it exists on my unraid environment (see /etc/passwd)

timdows avatar Sep 24 '24 08:09 timdows