How to start / stop apps using midclt (Electric Eel 24.10.0)

Hello TrueNAS people,

I have recently upgraded to Electric Eel. In the previous Dragonfish version, I had used midclt to start / stop some apps. Example:

midclt call chart.release.scale 'myapp' '{"replica_count":1}'
midclt call chart.release.scale 'myapp' '{"replica_count":0}'

Can anyone tell me the correct command to do the same in Electric Eel?
Your help would be appreciated.

Surely standard docker commands would work

Thank you! After going through the “trouble” of reading a few docker basics :flushed: , I found that docker start / docker stop commands work fine when I call them from the shell.

I have then put the start / stop commands in shell script files (and marked them as executable, same as with the Dragonfish version). When I tried to run these scrips from a Cron Job, I always got an “unexpected status 0x57f”. However, when I put the docker start / docker stop commands directly in the command field of the Cron Job, it works fine (and that’s good enough for me).

“API docs” button in GUI opens list of callable methods and there are app.start and app.stop commands for that.