# How to upgrade rocket chat

**URL:** <https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395>\
**Category:** Rocket.Chat Apps\
**Created:** [August 20, 2019, 6:37am UTC](https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395 "2019-08-20T06:37:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![holzfelix](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@holzfelix](https://forums.rocket.chat/u/holzfelix)\
**Post date:** [August 20, 2019, 6:37am UTC](https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395/1 "2019-08-20T06:37:44Z")

</div>

Hi I run rocket chat in docker and can’t find a description how to upgrade the rocket chat server app?

Any hints?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![angel.docampo](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@angel.docampo](https://forums.rocket.chat/u/angel.docampo)\
**Post date:** [August 21, 2019, 10:53am UTC](https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395/2 "2019-08-21T10:53:28Z")

</div>

When I want to upgrade any docker (not just rocketchat) what I do is the following:

- stop container (`docker stop <name_or_id>`)
- delete container (`docker rm <name_or_id>`)
- delete image (`docker rmi <name_image>`)
- create container (implies to download image) (`docker create <name_or_id>`)
- start container (`docker start <name_or_id>`)

Obviously, you need to have volumes for all the persistent information or you will lose all the data. But deleting the container won’t delete the volumes, which can be mounted back on the new created docker.

---

<div class="post-metadata">

**Author:** ![holzfelix](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@holzfelix](https://forums.rocket.chat/u/holzfelix)\
**Post date:** [August 21, 2019, 11:13am UTC](https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395/3 "2019-08-21T11:13:43Z")

</div>

I have two docker containers. one for the server and one for the database. Is it enough to update the chat app?

are there files stored in the app container?

---

<div class="post-metadata">

**Author:** ![holzfelix](https://avatars.discourse-cdn.com/v4/letter/h/5f8ce5/32.png) [@holzfelix](https://forums.rocket.chat/u/holzfelix)\
**Post date:** [August 26, 2019, 2:18pm UTC](https://forums.rocket.chat/t/how-to-upgrade-rocket-chat/4395/4 "2019-08-26T14:18:14Z")

</div>

I use this docker compose yml [https://rocket.chat/docs/installation/docker-containers/](https://rocket.chat/docs/installation/docker-containers/) … When I remove the container and create a new one I have the same version 1.2.6. not the current one. how to update with the yml?
