Yes, servethehome.com has whole series on how to setup docker to mine for Monero. Obviously, mining Monero on server CPUs, but it works. I tried it for a little while earlier this year. They also have a guide on using nvidia GPUs in docker to mine Monero. I still have the VMs laying dormant on my vmware cluster.
Check it out:
https://www.servethehome.com/?s=monero