remove
$ docker system prune --all
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all build cache
Are you sure you want to continue? [y/N] y
# prune volume only
$ docker system prune --volumesprune containers
docker rmi
docker rmi for keywords
docker rm
Last updated