# Can rebuilding the docker container result in an upgrade?

**URL:** https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093
**Category:** Support
**Tags:** docker
**Created:** [2015年一月16日 14:44 UTC](https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093 "2015-01-16T14:44:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2015年一月16日 14:44 UTC](https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093/1 "2015-01-16T14:44:03Z")

</div>

Our forum is on the beta stream. It was running Beta4 and the panel told us there was an update available for Beta5. We didn’t run an update, but we did a Docker rebuild when setting up our CDN. After the rebuild, Discourse tells us we’re now running Beta5.

- Can rebuilds trigger updates?
- Are there other ways to validate that we are in fact on Beta5?

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2015年一月16日 16:57 UTC](https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093/2 "2015-01-16T16:57:50Z")

</div>

Yes, rebuilding docker will update you to the latest discourse, as it will check it out from git at the time of rebuilding. Only the persistent data (database/uploads) are left alone when rebuilding.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [2015年一月16日 21:36 UTC](https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093/3 "2015-01-16T21:36:39Z")

</div>

Thanks for clarifying. I was completely oblivious to this fact. Must’ve glanced over the docs too carelessly.

---

<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年一月27日 03:35 UTC](https://meta.discourse.org/t/can-rebuilding-the-docker-container-result-in-an-upgrade/24093/4 "2015-01-27T03:35:41Z")

</div>


