how tp remove docker images docker rmi code example Example 1: delete all docker images docker system prune -a Example 2: remove docker images docker system prune -a