It shouldn’t matter what the server OS is as long as it supports Docker, is 64-bit Linux, and has a kernel version 3.10 or newer, you should be fine.
Check out the install docs here: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub