# Clear Docker Cache

**URL:** <https://forums.docker.com/t/clear-docker-cache/110176>\
**Category:** Docker Hub\
**Tags:** docker\
**Created:** [June 6, 2021, 12:52pm UTC](https://forums.docker.com/t/clear-docker-cache/110176 "2021-06-06T12:52:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amgix](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amgix](https://forums.docker.com/u/amgix)\
**Post date:** [June 6, 2021, 12:52pm UTC](https://forums.docker.com/t/clear-docker-cache/110176/1 "2021-06-06T12:52:36Z")

</div>

Whenever I build a Docker image using a Dockerfile on my Windows PC all the steps complete in a jiffy and it says using cache for most steps.  
I worry that there is an ever increasing cache I cannot find which is cluttering my system.

I clear all images before building by running the following  
docker rmi $(docker images -a -q)  
I ensure there are no containers up by running  
docker ps -a

I have Windows 10 Home and run Docker on WSL.

I wish to check the cache and clear it.

---

<div class="post-metadata">

**Author:** ![meyay](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/meyay/32/34000_2.png) [@meyay](https://forums.docker.com/u/meyay)\
**Post date:** [June 7, 2021, 8:06pm UTC](https://forums.docker.com/t/clear-docker-cache/110176/2 "2021-06-07T20:06:42Z")

</div>

Check overall docker storage usage:

```auto
docker system df
```

Clear the build cache:

```auto
docker builder prune
```
