How to edit the /etc/docker/daemon.json

As I replied in the other thread you posted this in:

You will have to write that post-init script yourself.