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