Re-posting a question from @sand kernel below. Sorry Alex, your post got caught in the migration to this new forum channel.
I've been experimenting with Dagger these days, and it's frankly awesome. I'd like to move some of DX automations that I have, specially in the "realm" of pre-commit framework and terraform. For example, there are some hooks that takes care of automatically generates documentation, using terraform-docs (https://terraform-docs.io/); but running it from within the docker container, does not allow it to effectively write the changes (created/modified README.md) into the filesystem. It works perfectly fine for check/read-only things, since they run within the container, but I couldn't find an example in order to run scripts/automations/binaries (like the aforementioned terraform-docs) that can modify and write their results into the filesystem; so Dagger can also be used for replacing some hooks like this.
PS: Newbie on dagger; so perhaps I'm missing some fundamentals in my former question.