# 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:** [March 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:** 2

<div class="post-metadata">

**Author:** ![pl3bs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pl3bs/32/37266_2.png) [@pl3bs](https://meta.discourse.org/u/pl3bs)\
**Post date:** [March 25, 2015, 6:38pm UTC](https://meta.discourse.org/t/how-to-uninstall-remove-docker-and-discourse/26777/2 "2015-03-25T18:38:36Z")

</div>

Are you sure the issue is with nginx? Did you ever go into a docker container directly and muck with nginx? If you only messed with things outside the container, it would perhaps be best to figure out what happened and correct it. If you really want to delete it all, make a backup first if you have a live forum with content. You can simply ssh into your instance and perform these commands to wipe it all out:

```
sudo apt-get remove docker* 
sudo apt-get autoremove
sudo apt-get autoclean
sudo rm -rf /var/www/discourse -R

```

That will remove the data, and docker application.

---

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