Why does Discourse have to use Docker?

Just wanted to chime in to clear things up: I run packager.io, so I can confirm that Discourse is still maintained. What Packager does is simple: it takes an app, applies one of the Heroku buildpacks on it, and package that into a deb/rpm for any number of the Linux distributions we support.

So you basically end up with what you would get on Heroku (i.e. processes are launched based on your Procfile, using the exact ruby version and gems specified in your Gemfile), but on your server(s). The package also ships with init scripts, logrotate, crons, etc.
For other dependencies, we rely on the system dependencies provided by the package manager of the distribution (i.e. we don’t package the world).

That being said, I can understand why Discourse went the docker route, especially if the alternative was a manual/roll-your-own install.