diff --git a/docs/getting-started-guides/docker.md b/docs/getting-started-guides/docker.md index 07aac0a461a..e22250da153 100644 --- a/docs/getting-started-guides/docker.md +++ b/docs/getting-started-guides/docker.md @@ -147,7 +147,7 @@ Note that you will need run this curl command on your boot2docker VM if you are Many of these containers run under the management of the `kubelet` binary, which attempts to keep containers running, even if they fail. So, in order to turn down the cluster, you need to first kill the kubelet container, and then any other containers. -You may use `docker ps -a | awk '{print $1}' | xargs docker kill`, note this removes _all_ containers running under Docker, so use with caution. +You may use `docker kill $(docker ps -aq)`, note this removes _all_ containers running under Docker, so use with caution.