Merge pull request #2788 from dokku/josegonzalez-patch-1
docs: Flesh out uninstallation documentation
This commit is contained in:
54
docs/getting-started/uninstalling.md
Normal file
54
docs/getting-started/uninstalling.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Uninstalling
|
||||
|
||||
While we hate to see you go, if you need to uninstall Dokku, the following may help you out:
|
||||
|
||||
## Arch Installation
|
||||
|
||||
```shell
|
||||
# purge dokku from your system
|
||||
yaourt -Rsn dokku
|
||||
```
|
||||
|
||||
## CentOS Installation
|
||||
|
||||
```shell
|
||||
# uninstall dokku
|
||||
yum remove dokku herokuish
|
||||
```
|
||||
|
||||
## Debian Installation
|
||||
|
||||
```shell
|
||||
# purge dokku from your system
|
||||
apt-get purge -y --force-yes dokku herokuish
|
||||
|
||||
# remove any dependencies that are no longer necessary
|
||||
apt-get -y --force-yes autoremove
|
||||
```
|
||||
|
||||
## Makefile Installation
|
||||
|
||||
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 --quiet apps | xargs dokku ps:stop
|
||||
|
||||
# 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`
|
||||
@@ -111,6 +111,7 @@
|
||||
<a href="#" class="list-group-item disabled">Getting Started</a>
|
||||
<a href="/{{NAME}}/getting-started/installation/" class="list-group-item">Getting Started with Dokku</a>
|
||||
<a href="/{{NAME}}/getting-started/upgrading/" class="list-group-item">Upgrading Dokku</a>
|
||||
<a href="/{{NAME}}/getting-started/uninstalling/" class="list-group-item">Uninstalling Dokku</a>
|
||||
<a href="/{{NAME}}/getting-started/troubleshooting/" class="list-group-item">Troubleshooting</a>
|
||||
<a href="/{{NAME}}/getting-started/where-to-get-help/" class="list-group-item">Getting Help</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user