delete a container image code example Example 1: windows delete all docker images $ docker system prune --all Example 2: remove docker images docker system prune -a