# How to uninstall/remove docker and discourse

**URL:** <https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777>\
**Category:** Self-hosting\
**Created:** [Março 25, 2015, 5:53pm UTC](https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777 "2015-03-25T17:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [Março 25, 2015, 11:31pm UTC](https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777/5 "2015-03-25T23:31:14Z")

</div>

Always quote anything containing asterisks or the shell might replace it with a matching filename.

Also, the data is stored in `/var/discourse` and it might not delete any images or containers docker has created or downloaded; those should live in `/var/lib/docker`, but that’s a blind guess. (They’d not hinder or affect a new installation anyway, just fill up some disk space.)

And does `apt-get` know that it needs to stop containers and the docker daemon itself before uninstalling the package?

---

_[View the full topic](https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777)._
