How to properly run containers which employ systemd

I had a hard time trying to run a container that runs its service through systemd, due to the need to use the cgroup namespace of the host.

I found only two ways around that issue, which are not straightforward:

  1. Installing the docker app via the Install iX App wizard, specifying Priviledged true: this has the downside of giving far more permissions than needed
  2. Installing the app via Install via YAML, specifying cgroupns: host: this had the downside of being less user-friendly and losing all the neat advantages of an iX app, like proper version notices, etc.

The most straightforward way to manage that would have been having a simple field to configure the cgroupns option in the Install iX App wizard.

I guess this use case is not so common at the moment, but I can see it being more and more frequent.

I suppose the scope of the change would be limited and it could improve the user experience.

File an issue on the apps section of the truenas GitHub and see what the apps maintainer says to your proposed change, as far as I can tell he’s rarely active on the forum and may not see your question

Thank you for this suggestion!

I saw that there’s some changes concerning this category and also the feedback channel is mostly meant for bugs. Nonetheless I thought this topic might be helpful in getting some feedback first, concerning this feature request.