0

Moving Ubooquity From Windows to Docker

Bobby Hill 3 years ago updated by John Papoula 3 years ago 1

My previous installation of Ubooquity was on Windows, with my Comics folder on my Synology NAS mapped as a letter drive (R) so that Ubooquity could see it.

I have now moved to Docker in Unraid. In order to preserve my old database I need to map the old comics path inside of the container to the new path outside of the container:

Container Path: R:\\Comics
Host Path: /mnt/user/Comics/


Docker really doesn't like this and refuses to take it.  Anyone have any idears??

Image 784


You need to create the mount points in Unraid in your /etc/fstab configuration file.

Here's my example in Ubuntu using NFS file shares in /etc/fstab:

# Comics

Synology_IP:/volume1/Comics  /nfs/Comics nfs auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0

I then created the mount point on Ubuntu using:

sudo mkdir -p /nfs/Comics

Then mount using sudo mount -a

You shouldn't get any errors.  If you do, then check the syntax above.

In your docker configuration, you need to map the volume with /comics mapped to /nfs/Comics.

If you use Docker CE:

container: /comics

host: /nfs/Comics



If you are using docker client:


-v /nfs/Comics:/comics

The /comics path is what you will define in your Ubooquity configuration.


Let me know if you need further help. :)

%