Hey all, I recently made the migration over from Dragonfish to Electric Eel and was working on getting everything rebuilt. Most of what I initially had to rebuild I could do with a VM or with a few of the apps that are already available (Pihole, NPM, etc.). However, I have very little understanding of Docker in TrueNAS at the moment. Right now I’m using Dockge, and when I do get something to deploy, I have no idea where it lives, or where I can navigate to if I need to edit a config file, etc.
Does anyone know of a guide, or can point me to a step-by-step set of instructions to show me how to properly set up Docker for TrueNAS, including where apps live. For example, I tried to follow this guide to get Authelia running on Electric Eel, and while I got the initial app to deploy, once I need to edit a config file, I have no idea where it lives. What datasets should I be setting up? What permissions? Should Dockge be using iXVolumes or Hostpaths, etc.?
I’d love to take more advantage of using Docker, but right now, I feel like I don’t even know where the “on” button is. Any help would be greatly appreciated.
Although, originally made as a jail migration video, I do spend a fair bit of time discussing setting up Dockge on Electric Eel, and demonstrating some advanced functionality.
Thank you, @Stux. I’ll confess, I did see your videos a while back when you posted them, but haven’t looked at them lately because I remembered them being very jail/migration centric. I’m happy to take another watch through them, though!
Thanks for the reply, and for what you do for the community.
I took a look at your videos and for the most part, replicated your exact setup. I’m currently trying to install Homebridge, which seemed like an even simpler app to deploy than something like Jellyfin.
First, here are my datasets:
\Sentinel
\Sentinel\Dockge
\Sentinel\Dockge\Data
\Sentinel\Dockge\Stacks
\Sentinel\Dockge\Homebridge
I’ve manually went into everything in Dockge and lower and manually set “read-only” in the dataset advanced options to “off,” rather than “Inherit.” I also made sure to add a group that includes the apps, root, and local user to each dataset and gave them full control (GID 3001).
When I installed dockge I installed them setting the data and stacks hostpaths just as you did. Where I’m getting stuck is that I get an error in dockge saying my pool is a read-only file system. In following the video you linked and your earlier video, it didn’t seem like you had any issues with access permissions. I did see that in the case of Jellyfin, you did define a user, but it seems like you did that because Jellyfin’s YAML script specifically asked for one. Homebridge seemed even simpler, but it still seems like I’m stuck. I’ve even tried enabling ACLs for both and adding the group I mentioned earlier (3001), and gave the group full access control. I also had to enable the force flag for the two ACLs, but that didn’t solve the issue.
This is the YAML code I was attempting to deploy. Not sure what I’m missing here:
You should folow these instructions for homebridge on EE. Modify as needed to use with dockge. The network stuff is important to avoid mDNS conflict with truenas.