# Destroying docker container does not destroy the database?

**URL:** <https://meta.discourse.org/t/destroying-docker-container-does-not-destroy-the-database/26411>\
**Category:** Self-hosting\
**Created:** [2015 年 3 月 16 日午後 9:18 UTC](https://meta.discourse.org/t/destroying-docker-container-does-not-destroy-the-database/26411 "2015-03-16T21:18:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 年 3 月 16 日午後 9:24 UTC](https://meta.discourse.org/t/destroying-docker-container-does-not-destroy-the-database/26411/2 "2015-03-16T21:24:05Z")

</div>

By design, all data is stored out of the container in a volume. If you insist on nuking everything, destroy your container, `rm -fr /var/discourse/shared/standalone` and re-boostrap.

If you run:

```plaintext
cd /var/docker
git pull
./launcher rebuild app

```

you will see the actual docker command we run.

---

_[View the full topic](https://meta.discourse.org/t/destroying-docker-container-does-not-destroy-the-database/26411)._
