client.ScanAll does not call the ScanCallback function

No they dont

only the scan commands dont work and we have discussed this to a good extent here

This situation occurs only when I am on a vagrant box and this is not the case when I am on an ubuntu

so now I have a Ubuntu VM inside my mac and i have an asd inside the ubuntu which is the way around now

but it would be great to solve this issue with all my docker boxes

regards