If you want to completely remove discourse:
- List you local docker images from the host:
docker images - Find the discourse image. It should look something like
REPOSITORY TAG IMAGE ID CREATED SIZE discourse/discourse 1.3.10 95332d4db04b 5 weeks ago 1.52GB - Remove the image:
docker image rm discourse/discourse:1.3.10. Remember to use the exact same name and version your docker output showed you. - Remove the location you cloned the discourse. If you followed the installation instructions, it should be /var/discourse, so
rm -r /var/discourseshould do it. - [optional]. If you don’t need docker anymore, remove it from your machine.