docker image remove all but one code example Example: docker remove all image docker system prune -a --volumes