docker auto remove dangling images code example Example 1: docker purge all docker system prune [OPTIONS] Example 2: docker remove dangling images docker image prune