Hey everyone!
I'm trying to figure out how to set up an Audiobookshelf container through Docker Desktop on my Ubuntu system. I'm new to Docker and got a bit lost in the process. I want to connect the container to a media folder on my Synology NAS, but I'm not quite sure how to do that.
I see options for naming the container, setting a port, and configuring volumes, but I'm having trouble understanding how to format them. Specifically, I'm thinking I should enter the network location of my NAS as the host path, and the container's mount location as the container path. I also want to include the environmental variable for the user credentials I've set up on my NAS. However, I can't find any solid documentation on the right format for these inputs, and I prefer not to mess with FSTAB, aiming for a setup that's portable and self-contained.
Moreover, I'd like to know if there's a way to create templates for repeatable container setups instead of typing everything in each time. I can run a container and access the GUI on my network as soon as I get the NAS folder linked. Any help would be greatly appreciated! What am I missing here?
2 Answers
It sounds like you might want to consider avoiding Docker Desktop altogether, especially since you're on Linux. Just go for Docker Engine with Docker Compose. You can check out the official instructions to install Docker on Ubuntu without the Desktop version.
As for connecting to your NAS, make sure to check the documentation on volumes—it’s pretty helpful. You can set up your NFS share on the NAS and link it to your container without using FSTAB, which is what you seem to be after.
Also, if you run into issues, there’s a lot of good community support out there. Good luck!
First off, definitely consider uninstalling snap from your Ubuntu setup as it can interfere with Docker.
If you need a UI, you could look into installing Portainer once you’ve got Docker running. What model of Synology do you have? If it supports NFS, configure it to allow access from your Ubuntu IP without squashing roles, and you should be set.
Just remember, you might still use FSTAB if it comes down to it, but if you can manage to connect via a direct volume in Docker, that’d be the way to go! Let me know if you hit any snags.
Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux