diff --git a/docs/application-deployment.md b/docs/application-deployment.md index 678c6931c84..ede1aa11976 100644 --- a/docs/application-deployment.md +++ b/docs/application-deployment.md @@ -182,7 +182,9 @@ This is in particular useful, then you want to deploy to root domain, as ## Dokku/Docker Container Management Compatibility -Dokku is, at its core, a docker container manager. Thus, it does not necessarily play well with other out-of-band processes interacting with the docker daemon. One thing to note as in [issue #1220](https://github.com/dokku/dokku/issues/1220), dokku executes a cleanup function prior to every deployment. This function removes all exited containers and all 'unattached' images. +Dokku is, at its core, a docker container manager. Thus, it does not necessarily play well with other out-of-band processes interacting with the docker daemon. One thing to note as in [issue #1220](https://github.com/dokku/dokku/issues/1220), dokku executes a cleanup function prior to every deployment. + +As of 0.5.x, this function removes all containers with the label `dokku` where the status is either `dead` or `exited`, as well as all `dangling` images. Previous versions would remove `dead` or `exited` containers, regardless of their label. ### Adding deploy users