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

<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 年 4 月 29 日午後 10:08 UTC](https://meta.discourse.org/t/why-does-discourse-have-to-use-docker/26041/43 "2015-04-29T22:08:33Z")

</div>

> [@Radioshark](#):
>
> . how are my web requests being handled?

NGINX → Unicorn Master → Unicorn Worker

> [@Radioshark](#):
>
> Also, does using Nginx make Discourse run more efficiently?

Than what 🙂 … in general NGINX is more efficient than Apache and to get stuff like long polling working on Apache it takes some hoop jumping

---

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