Cleaning up: rm, rmi and prune
Select an icon to see what it is.
Step 1 of 6
First, look at what you have
docker ps lists running containers with GET /containers/json, and docker ps -a adds the stopped ones with all=1. docker images lists images, and docker system df shows how much space containers, images, volumes and the build cache use. Stopped containers and old images pile up quietly, so this is where cleaning starts.
$ docker system df PrevNext
GET /v1.45/system/df
reply: sizes for Images, Containers, Volumes and BuildCache