# 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:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2015 年 3 月 5 日午後 8:06 UTC](https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041/2 "2015-03-05T20:06:51Z")

</div>

memory can be controlled fine in your docker install, you can elect to run less web workers if you wish. no idea what packgr is doing, but it is super old and unmaintained.

the reason for docker, in a nutshell, is so we can have extreme levels of control.

we know the exact version of all our image manipulation libraries, nginx, postgres, redis etc. etc. this means that we can easily upgrade when needed and the same troubleshooting steps apply to everyone.

Docker has been a blessing to our project and proof of its success are the huge number of Discourse install that are running latest.

We were in the “roll your own deploy” movie for our first year, support was hell to put it mildly.

---

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