code: def parse_images_output(out):
      
      line_iter = islice(out.splitlines(), 1, None)  # Skip header
      split_lines = (line.split() for line in line_iter)
      return [
          _summarize_tags(image_id, image_lines)
          for image_id, image_lines in groupby(sorted(split_lines, key=_get_image_id), key=_get_image_id)
      ]
docs: Parses the output of the Docker CLI 'docker images'. Note this is currently incomplete and only returns the ids and
      tags of images, as the Docker CLI heavily modifies the output for human readability. The parent image id is also
      not available on the CLI, so a full API compatibility is not possible.
  
      :param out: CLI output.
      :type out: unicode | str
      :return: Parsed result.
      :rtype: list[dict]