delete all docker images
docker system prune -a
docker delete container and image
# remove containers created between now upto 4hrs back
docker container prune --filter "until=4h"
# remove images created between now upto 4hrs back
docker image prune --filter "until=4h"
how to delete image docker
docker image rm [OPTIONS] IMAGE_ID [IMAGE_ID...]
#[OPTIONS]
--force , -f Force removal of the image
--no-prune Do not delete untagged parents
remove image docker
# If image from a private repo
docker image rm [OPTIONS] myuser/myrepo:myimage
[OPTIONS]
--force
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us