Adding USB as local external storage (Nextcloudpi Docker)

Hi all, trying to use a USB stick as local external storage,

root@proxy:~# lsblk -o KNAME,TYPE,SIZE,MODEL,MOUNTPOINT
KNAME     TYPE   SIZE MODEL          MOUNTPOINT
sda       disk 118.2G Storage_Device 
sda1      part 118.2G                /mnt/usb0
mmcblk0   disk  29.1G                
mmcblk0p1 part   256M                /boot
mmcblk0p2 part  28.9G                /

Have run sudo chown -R www-data:www-data /mnt/usb0 and sudo chown -R www-data:www-data /mnt/usb0/data

I created a folder called data, when I try to add under configuration as either /dev/sda1/data or /mnt/usb0/data I get the red ! Click to recheck the configuration?

you need to mount the volume into your docker container, before you can use it from inside of the container

1 Like

Thanks, that looks complicated, I might just leave it.