From b656513b9ffbbe9cf207e77e3035743e09b61a56 Mon Sep 17 00:00:00 2001 From: Jarrod Pooler Date: Wed, 19 Apr 2017 14:42:57 -0500 Subject: [PATCH] add system prune instructions (#2918) --- opensource/project/set-up-dev-env.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/opensource/project/set-up-dev-env.md b/opensource/project/set-up-dev-env.md index 8ede97a9fa..96f988d423 100644 --- a/opensource/project/set-up-dev-env.md +++ b/opensource/project/set-up-dev-env.md @@ -45,6 +45,14 @@ To remove unnecessary artifacts: There are no running or stopped containers on this host. A fast way to remove old containers is the following: + As of Docker Engine version 1.13 you can now use the `docker system prune` command to achieve this: + + ```none + $ docker system prune -a + ``` + + Older versions of the Docker Engine should reference the command below: + ```none $ docker rm $(docker ps -a -q) ```