15 lines
348 B
Markdown
15 lines
348 B
Markdown
---
|
|
title: "Cleaning a docker host"
|
|
date: 2018-01-29
|
|
description: How to retrieve storage space by cleaning a docker host
|
|
tags:
|
|
- docker
|
|
- linux
|
|
---
|
|
|
|
## The command
|
|
|
|
Be careful that this will delete any stopped container and remove any locally unused images, volumes and tags :
|
|
{{< highlight sh >}}
|
|
docker system prune -f -a
|
|
{{< /highlight >}}
|