From baed51e54515d3d929f30c26a5d0f81f67aeadef Mon Sep 17 00:00:00 2001 From: Satish Jhanwer Date: Fri, 7 Dec 2018 00:53:33 +0530 Subject: [PATCH] chore(guide): added docker system prune command (#25843) added basic use of docker system prune command, which will help us to clean up disk space. --- .../docker/docker-system-prune/index.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 guide/english/docker/docker-system-prune/index.md diff --git a/guide/english/docker/docker-system-prune/index.md b/guide/english/docker/docker-system-prune/index.md new file mode 100644 index 00000000000..d7ade72f380 --- /dev/null +++ b/guide/english/docker/docker-system-prune/index.md @@ -0,0 +1,22 @@ +--- +title: Docker System Prune +--- + +## Docker System Prune + +`docker system prune` This command will remove unused data which includes below: + +* all stopped containers +* all networks not used by at least one container +* all dangling images +* all build cache + + +The basic usage is: + +``` +docker system prune +``` + +#### More Information: +- [Docker CLI docs: System Prune](https://docs.docker.com/engine/reference/commandline/system_prune/)