Hi,
How can I create a custom app that has multiple containers?
Hi,
How can I create a custom app that has multiple containers?
Use docker compose in a sandbox. In the future youâll be able to use that compose file with TrueNAS Electric Eel
I donât think you can create a custom app with multiple containers. That being said, you can create a container via docker build that has multiple things in it with supervisord, etc, so, multiple daemons iow. The docker built container then is trivially run as a custom app.
That is, until Electric Eel release which will use compose. Or, you can go the jail route now.
Arenât TrueNAS apps based on Kubernetes and Helm charts?
I was hoping I could use it.
As off todayâs updates (24.04) I canât create new custom apps:
[ENOENT] Unable to locate âix-chartâ at â/mnt/Storage Pool 0/ix-applications/catalogs/github_com_truenas_charts_git_master/charts/ix-chartâ
They are Kubernetes at present, however, what actually rjuns behind the âcustom appâ is containerd, which runs any ol container built by docker and others.
Although you could make a custom helm
Chart, that functionality is deprecated. And going away in Electric Eel, to be replaced with docker compose.
In the meantime, you can use docker compose in a sandbox.
See my previous post.
You can, just learn to do docker and build your own until Eel when compose makes it easier. No need for helm. Youâll need to use/include something like supervisord to run multiple apps within the built container.