# Error when bootstrapping: postgres already running stop container

**URL:** https://meta.discourse.org/t/error-when-bootstrapping-postgres-already-running-stop-container/272574
**Category:** Self-hosting
**Created:** [July 23, 2023, 9:48pm UTC](https://meta.discourse.org/t/error-when-bootstrapping-postgres-already-running-stop-container/272574 "2023-07-23T21:48:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![JJ\_IA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jj_ia/32/317035_2.png) [@JJ\_IA](https://meta.discourse.org/u/JJ_IA)
#### Post date: [July 23, 2023, 9:48pm UTC](https://meta.discourse.org/t/error-when-bootstrapping-postgres-already-running-stop-container/272574/1 "2023-07-23T21:48:55Z")

</div>

I was trying to follow [this guide](https://meta.discourse.org/t/faster-rebuilds/40341/13) and minimize downtime for a 2-container setup. However it seems to require that I stop the data container in order to bootstrap web\_only (on same machine). Any ideas?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [July 23, 2023, 11:38pm UTC](https://meta.discourse.org/t/error-when-bootstrapping-postgres-already-running-stop-container/272574/2 "2023-07-23T23:38:26Z")

</div>

You do not need to stop the data container to bootstrap web\_only, in fact, it must be running to bootstrap web\_only.

You did remove the postgres template from web only?

---

<div class="post-metadata">

### Author: ![JJ\_IA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jj_ia/32/317035_2.png) [@JJ\_IA](https://meta.discourse.org/u/JJ_IA)
#### Post date: [July 24, 2023, 5:00am UTC](https://meta.discourse.org/t/error-when-bootstrapping-postgres-already-running-stop-container/272574/3 "2023-07-24T05:00:22Z")

</div>

Good call - yes I included the postgres and redis templates (I will eliminate them). Thank you for catching that!
