I’ve recently upgraded to scale from core. I’m running the latest version.
I have no experience with docker and just trying to understand how apps work.
A) do I need to install docker on electric eel or is it pre installed?
B) where can I find dockercompose.yml on the system. I installed an app yesterday and was having some problems. Went to get some help and they asked for the yml but I couldn’t find anywhere
C) I do not have portainer or dockage installed. Do I need either or both?
Any other information you think I might need to know about docker on electric eel, please let me know
no you don’t need to install anything, except your app
you have basically 2 way to build docker via GUI: install apps via catalogue, or build a custom app just putting your yaml into the text area. Container can also be deployed via shell, or using a manager like Dockge or Portainer.
Honestly don’t know how to retrieve the yaml if you use the catalogue
Is just your call, totally a personal choice. Personally, i use Portainer: i start using It for manage stacks from Core (in a VM obv), and i decide to continue use this way after have test a bit the built in way (that i don’t like so much. The only bad thing Is, for the moment, that container deployed outside the GUI are not showed in the app list
So for the second question, it depends what type of app you’re talking about. If you’ve installed a custom app using a YAML file (through the GUI or dockge, etc.) then you can just click edit in the TrueNAS UI (or the management app) to view the file, but if you had done that I suspect you’d already know that.
If we’re talking about just an app installed via the catalog, then might be better off asking for help here from other TrueNAS users, or at least letting whoever you’re talking to elsewhere know that is the case.
You can use docker inspect to see where the catalog app compose lives, but it’s templated, so it’s not exactly human readable.
The catalog apps are using popular images hosted on dockerhub (or other repos), shouldn’t be hard to find which they use (look at the scale app repo on github) then go to the image’s github project page to get sample compose and roll your own.
If you’re looking for help with catalog apps, you’ll need to post screencaps of the scale app ui so people can see where the problem is.
Hello,
Personally I no longer uses Truenas to install applications in Docker.
The only application that I installed via the Truenas catalog is Portainer.
Now I install all my applications in Docker via Portainer from a Docker Compose .yml file.
There are online catalogs like https://hub.docker.com/search where we find .yml files.
There is also an online application https://www.composerize.com/ which transforms a “docker run…” command into .yml
All my .yml files are stored in a directory which I use as a reference for the configuration of my Docker applications. In case of problem, I can easily rebuild one or more applications from .yml files.