aboutsummaryrefslogtreecommitdiff
path: root/content/blog/docker/cleaning.md
blob: 7326f941dbbeec3454b067d2357156f7ccc307d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
title: "Cleaning a docker host"
date: 2018-01-29
description: How to retrieve storage space by cleaning a docker host
tags:
  - docker
---

## 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 >}}