2017-05-25 22:34:10 -06:00
|
|
|
# Uninstalling
|
|
|
|
|
|
|
|
|
|
While we hate to see you go, if you need to uninstall Dokku, the following may help you out:
|
|
|
|
|
|
2020-05-05 23:34:30 -04:00
|
|
|
## Arch Uninstallation
|
2017-05-25 22:34:10 -06:00
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# purge dokku from your system
|
2020-06-18 08:34:24 +01:00
|
|
|
yay -Rsn dokku
|
2017-05-25 22:34:10 -06:00
|
|
|
```
|
|
|
|
|
|
2020-05-05 23:34:30 -04:00
|
|
|
## Debian Uninstallation
|
2017-05-25 22:34:10 -06:00
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# purge dokku from your system
|
2020-05-05 23:34:30 -04:00
|
|
|
apt-get purge dokku herokuish
|
2017-05-25 22:34:10 -06:00
|
|
|
|
|
|
|
|
# remove any dependencies that are no longer necessary
|
2020-05-05 23:34:30 -04:00
|
|
|
apt-get autoremove
|
2017-05-25 22:34:10 -06:00
|
|
|
```
|
|
|
|
|
|
2020-05-05 23:34:30 -04:00
|
|
|
## Makefile Uninstallation
|
2017-05-25 22:34:10 -06:00
|
|
|
|
|
|
|
|
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
|
2020-11-21 17:31:25 -05:00
|
|
|
dokku ps:stop --all
|
2017-05-25 22:34:10 -06:00
|
|
|
|
|
|
|
|
# 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`
|