aboutsummaryrefslogtreecommitdiff
path: root/content/blog/docker/cleaning.md
blob: f5a8e99b3485c2f44feb0d5bb8ea18b3f9f043ee (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 :
```sh
docker system prune -f -a
```