# Upgrade container - keeping config and data

**URL:** https://meta.discourse.org/t/upgrade-container-keeping-config-and-data/229968
**Category:** Self-hosting
**Created:** [June 14, 2022, 7:24pm UTC](https://meta.discourse.org/t/upgrade-container-keeping-config-and-data/229968 "2022-06-14T19:24:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![md-misko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/md-misko/32/126315_2.png) [@md-misko](https://meta.discourse.org/u/md-misko)
#### Post date: [June 14, 2022, 7:58pm UTC](https://meta.discourse.org/t/upgrade-container-keeping-config-and-data/229968/2 "2022-06-14T19:58:02Z")

</div>

> [@tschloss](#):
>
> Q: how to upgrade an existing installation through Docker?

> [@Manually update Discourse and Docker image to latest](https://meta.discourse.org/t/how-do-i-manually-update-discourse-and-docker-image-to-latest/23325):
>
> bookmark This guide provides step-by-step instructions for manually updating Discourse, the Docker container, and the Ubuntu operating system on a self-hosted setup. person_raising_hand Required user level: System Administrator warning SSH access to the server. If you self-host Discourse, you occasionally need to run a manual update via the command line to get the latest security releases and newest libraries. These updates are not picked up in admin/upgrade, which is why you’ll occa…

---

_[View the full topic](https://meta.discourse.org/t/upgrade-container-keeping-config-and-data/229968)._
