Yea, this is a huge problem to make it as Fusion module, mostly cause plain Fusion code is not supporting any custom CDR callbacks or so.
For running docker alongside, you need to run daemon, which is listening to FreeSwitch events. And it's actually a question of technology to use.
So, long...