# 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:** [25. März 2015 um 17:53 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:** 8

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [26. März 2015 um 06:50 UTC](https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777/8 "2015-03-26T06:50:45Z")

</div>

> [@elberet](#):
>
> And does apt-get know that it needs to stop containers and the docker daemon itself before uninstalling the package?

Yeah, there are hooks in the .deb files to do that. They figured all that stuff out a while ago.

Though `apt-get purge` is what to use if you also want to remove configuration files and data.

---

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