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

Be carefull that this will delete any stopped container and remove any locally unused image and tags :
{{< highlight sh >}}
docker system prune -f -a
{{< /highlight >}}