Replace docs using manual stopping of all apps with ps:stopall cmd

This commit is contained in:
Sherman K
2018-01-19 00:37:26 +08:00
parent 25bd4c8785
commit 59ca40f368
2 changed files with 5 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ All applications should be stopped, and all docker containers and images deleted
```shell
# stop all applications
dokku --quiet apps | xargs dokku ps:stop
dokku ps:stopall
# cleanup containers and images
dokku cleanup

View File

@@ -39,9 +39,11 @@ If Dokku was installed via `apt-get install dokku` or `bootstrap.sh` (most commo
sudo apt-get update
# stop each running app
# for 0.8.1 and newer versions, use
# for 0.11.4 and newer versions, use
dokku ps:stopall
# for versions between 0.8.1 and 0.11.3, use
dokku --quiet apps:list | xargs -L1 dokku ps:stop
# for older versions, use
# for versions versions older than 0.8.1, use
dokku --quiet apps | xargs -L1 dokku ps:stop
# update dokku and it's dependencies