Truenas scale 24.10 docker apps separating data and configuration

Hello all. Tom had a video where he demonstrates a great way to install apps on truenas scale 23.xx. My question is: Does anyone know if this will be possible in the upgrade to 24.10. I know now docker is fully supported by scale 24.10. I ask in case anyone knows but I plan to launch a truenas scale 24.10 VM to see if it is possible (tomorrow maybe) but if anyone knows now it will be greatly appreciated.

They removed Kubernetes from underneath but the setup from the Web UI is still much the same.

Thank you Tom!
I wanted to do some testing and used a VM in xcpng with 2 drives to share a folder outgoing and incoming - I did notice something I had not paid attention to. I can create the shared folders in the file structure (physical drive) and then add that path to the configuration to share, but when I accept the incoming folders (shared from another truenas box) it saves that data inside the configuration folder for syncthing.
I have to research now how to direct those incoming shared folders to a dataset other than the one which contains the configuration file.

And yes, the configuration you suggested (separating app config files/data from actual synced data) works just fine.

is it possible to upgrade from scale 23 to 24.10, does the upgrade also keep the applications? Asking because technically, removing kubernetes is a biggie and they need to adapt a lot of app config if the upgrade is supposed to keep the configured apps in place.

The fundamentals of docker and kubernetes are the same. Environment vars, networks, volumes, and so on. So it is pretty easy to keep the front end values the same just made under the docker engine rather than a kubernetes manifest.

That sounds like you theorize and not as if you have exercized the upgrade in practice.

I actually run kubernetes and docker in production environments. You don’t have to don’t have to take my word for it. You can stay in your current version of truenas.

But if you want to listen, then kubernetes runs docker images, so yes, the applications will be the same. Just the same as all the variables you set for kubernetes will work in docker.

I know that kubernetes runs docker images. Taking out Kubernetes removes a thick layer between/around the OS and the Docker engine. So much for the theory.

You have not said that you have upgraded a Dragonfish to Electic Eel - but this is what I am curious about: does the upgrade keep the settings for the containers and wil they still be functional out of the box after upgrading from Dragonfish to Electric Eel?

Note that I am not asking whether it “should” work in theory.
I am asking if it does work in actual practice without the need to (re)configure the containers.

I have done this. Tom has said he has done this. The conversion works.

2 Likes