# Web-only - do I need a separate image for each container?

**URL:** https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549
**Category:** Self-hosting
**Created:** [February 7, 2024, 2:51pm UTC](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549 "2024-02-07T14:51:54Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 7, 2024, 9:07pm UTC](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549/5 "2024-02-07T21:07:56Z")

</div>

> [@lejeczek](#):
>
> So I end up with multiple image of the same **discourse** - is it only me & result should be different?

It contains unique copies of your sites themes, which include JS, CSS and other types of assets.

Also the unique combination of your plugins and their dependencies.

> [@lejeczek](#):
>
> What I was hoping for - when first tried discourse - what I expected was, pretty much what everything else, every other software which is _dockerized_ does, namely - get that one image and run many containers off it. Is **discourse** not cap/able of doing that?

It’s a long history, but Discourse and most of the tooling predates stuff like Docker compose.

We ship a fat container that contains the whole kitchen sink, and there are several trade-offs to that. As for one, the stateful container allows for features like our web based one-click updater.

Coming from a more modern approach to how containers are usually deployed today, it is indeed a big discrepancy. This is discussed at long in [Can Discourse ship frequent Docker images that do not need to be bootstrapped?](https://meta.discourse.org/t/can-discourse-ship-frequent-docker-images-that-do-not-need-to-be-bootstrapped/33205) and is worth a read.

In the end, our current status quo works well for people who are only slightly tech-inclined, that can copy and paste commands in a SSH session and configure DNS, but aren’t masters of Linux containers.

And as for the Linux containers black-belts out there, we can tell then that they can take that bootstrapped image, ship it to a registry and re-use it on their favorite container orchestration software.

People between the two personas above tho, they feel the pain the most.

---

_[View the full topic](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549)._
