Sounds to me as if your issue may not be CPU pinning, but disk I/O related. Where do you have the vdisk for the VM located - on the array or on a pool? Also since you mention docker, where are the appdata and system shares located - ideally these should also not be on the main array for best performance.
You should post your system's diagnostics zip file in your next post in this thread to get more informed feedback. It is always a good idea to post this if your question might involve us seeing how you have things set up or to look at recent logs.