docker remove all images
docker rmi $(docker images -a -q)
docker remove all images
docker rmi $(docker images -a -q)
docker delete images without tag
docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
clean up untagged docker images
# Remove all containers that aren't running.
docker rm -vf $(docker ps -a -q --filter "status=exited")
# Remove untagged images.
docker rmi -f $(docker images -q -f "dangling=true")
# Remove unused volumes using "rm" or "prune".
docker volume rm -f $(docker volume ls -f "dangling=true")
docker volume prune -f
# Remove unused networks.
docker network prune -f
clean up untagged docker images
# Display running containers.
docker ps
# Display all containers using "-a" or "--all".
docker ps -a
docker ps --all
# Filter output using "-f" or "--filter".
docker ps -f "status=exited"
docker ps --filter "status=exited"
# Show only the container ID using "-q" or "--quiet".
docker ps -q -f "status=exited"
docker ps --quiet --filter "status=exited"
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