aboutsummaryrefslogtreecommitdiff
path: root/content/blog/docker/cleaning.md
blob: dc332572e9336c2294846f8d5abd12b90d27217b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
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 >}}