# Why does Discourse have to use Docker?

**URL:** <https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041>\
**Category:** Self-hosting\
**Tags:** docker\
**Created:** [2015 年 3 月 5 日午後 7:59 UTC](https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041 "2015-03-05T19:59:01Z")\
**Posts on this page:** 1\
**Showing post:** 41

<div class="post-metadata">

**Author:** ![crohr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crohr/32/107480_2.png) [@crohr](https://meta.discourse.org/u/crohr)\
**Post date:** [2015 年 3 月 24 日午後 5:13 UTC](https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041/41 "2015-03-24T17:13:36Z")

</div>

Just wanted to chime in to clear things up: I run [packager.io](http://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.

---

_[View the full topic](https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041)._
