There are a few existing projects out there like this (running Docker images as virtual machines, specifically) if folks are interested. Slim [0] is the one I can remember off the top of my head. I think there are a couple more.

Still, neat to have the walkthrough here in this post.

https://github.com/ottomatica/slim