March 7, 20242 yr Hi guys, i've noticed that i have files accessed many times a day, located in my arrey. I would like to move them to my cache nvme but some of them are inside a docker container data folder. Example: i would like to move this file /mnt/disk1/nextcloud/nextcloud.log from arrey to /mnt/user/appdata/nextcloud/data/nextcloud.log is it possible? I tried setting up a path in my docker container with no luck P.S. I need to move just 1 file, not the whole folder Thanks Edited March 7, 20242 yr by Armisael81
March 7, 20242 yr Community Expert Never mover from disk share to a user share, only share to share or disk to disk.
March 7, 20242 yr Author ok, i switched to mnt/user for both, but i get this error docker run -d --name='nextcloud' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Sacha-UnNAS" -e HOST_CONTAINERNAME="nextcloud" -e 'PUID'='99' -e 'PGID'='100' -e 'UMASK'='022' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='https://[IP]:[PORT:443]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/nextcloud-logo.png' -p '444:443/tcp' -v '/mnt/user/nextcloud/':'/data':'rw' -v '/mnt/user/appdata/nextcloud/nextcloud.log':'/data/nextcloud.log':'rw' -v '/mnt/user/appdata/nextcloud':'/config':'rw' --device='/dev/dri' 'lscr.io/linuxserver/nextcloud' 1b47bb2a567350d84417b0453f6b9dff4bf825f4cacfea0e6387eb1cfebbc674 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/mnt/user/appdata/nextcloud/nextcloud.log" to rootfs at "/data/nextcloud.log": mount /mnt/user/appdata/nextcloud/nextcloud.log:/data/nextcloud.log (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type. Comando Fallito.
March 7, 20242 yr Community Expert OK, sorry but can't help with the container error, you should be able to get help in the container support thread/discord:
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.