From 59ca40f36840eff885c92694afd06c9fe32d6698 Mon Sep 17 00:00:00 2001 From: Sherman K Date: Fri, 19 Jan 2018 00:37:26 +0800 Subject: [PATCH] Replace docs using manual stopping of all apps with ps:stopall cmd --- docs/getting-started/uninstalling.md | 2 +- docs/getting-started/upgrading.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/uninstalling.md b/docs/getting-started/uninstalling.md index d5c8bc379..dffe3f12a 100644 --- a/docs/getting-started/uninstalling.md +++ b/docs/getting-started/uninstalling.md @@ -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 diff --git a/docs/getting-started/upgrading.md b/docs/getting-started/upgrading.md index bc123f94c..35ac6afa9 100644 --- a/docs/getting-started/upgrading.md +++ b/docs/getting-started/upgrading.md @@ -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