Docker and Git should be installed, and wget -qO- https://get.docker.com/ | sh
should install both (although for some reason when I did it on Debian I still had to install Git manually).
This is easy, just create a directory and clone Discourse's docker Git repo.
sudo -s