I am trying to solve an issue where docker’s daemon.json (to configure my local insecure pull through registry cache) gets overwritten on every reboot under SCALE 24.10.2.
I have an idea of creating a simple a startup script that will change the daemon.json and then restart the docker service. It’s a hack but it seems to be the only way to make persistent changes to the docker config under TrueNAS.
However, I am a little concerned going around TrueNAS middleware and interacting with services directly, it seems to be frowned upon generally on this forum. So my question is - can anything break if I restart docker through “systemctl restart”, or is there maybe a way to do it through middleware itself?