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.
pull/26146/head
Satish Jhanwer 2018-12-07 00:53:33 +05:30 committed by Tom
parent 4e434f1243
commit baed51e545
1 changed files with 22 additions and 0 deletions

View File

@ -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/)