Can I install discourse with docker in Debian?

Oh sorry, as long as you are following the current install docs, it should work in Debian.

You will need a 3.8+ kernel though.