Files
dokku/docs/getting-started/uninstalling.md
Jose Diaz-Gonzalez cca008f140 feat: remove all --force-yes usage throughout the codebase
It was deprecated in a recent apt release and shouldn't be necessary for anything any longer.

Closes #3949
2020-05-05 23:34:30 -04:00

55 lines
1.0 KiB
Markdown

# Uninstalling
While we hate to see you go, if you need to uninstall Dokku, the following may help you out:
## Arch Uninstallation
```shell
# purge dokku from your system
yaourt -Rsn dokku
```
## CentOS Uninstallation
```shell
# uninstall dokku
yum remove dokku herokuish
```
## Debian Uninstallation
```shell
# purge dokku from your system
apt-get purge dokku herokuish
# remove any dependencies that are no longer necessary
apt-get autoremove
```
## Makefile Uninstallation
This is a manual deletion process, and as it is not a recommended installation method, there is currently no automated uninstallation.
All service plugins should be unlinked from applications, stopped, and destroyed.
All applications should be stopped, and all docker containers and images deleted:
```shell
# stop all applications
dokku ps:stopall
# cleanup containers and images
dokku cleanup
```
The following user/group must be deleted:
- user: `dokku`
- group: `dokku`
The following directories must be deleted:
- `~dokku`
- `/var/lib/dokku`
- `/var/log/dokku`