Actually I just tried docker system prune. It warns:
docker system prune
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all dangling build cache
The similar command would be docker image prune which just removes the dangling images. I mixed the 2 separate commands together in my above comment. System prune is more aggressive and "nuclear". But also useful!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Actually I just tried
docker system prune
. It warns:The similar command would be
docker image prune
which just removes the dangling images. I mixed the 2 separate commands together in my above comment. System prune is more aggressive and "nuclear". But also useful!