I recently started using Docker and never realized that I should use docker-compose down instead of ctrl-c or docker-compose stop to get r
docker-compose down
ctrl-c
docker-compose stop
To simple clear everything do:
$ docker system prune --all
Everything means:
all stopped containers all networks not used by at least one container all images without at least one container associated to them all build cache