code: def test_docker_image() -> None:
      # Creates an experiment with a bad docker image file that will error
      errors = [
          # Singularity message
          "FATAL:   Unable to handle docker://docker.io/badhost/missing.image uri: "
          + "failed to get checksum for docker://docker.io/badhost/missing.image",
          # PodMan message
          "Error: initializing source docker://badhost/missing.image:latest",
          # Enroot message is:
          # `No such file or directory:
          # /home/launcher/.local/share/enroot/docker.io+badhost+missing.image`
          # But error message does not support patterning, so just match the partial file name.
          ".local/share/enroot/docker.io+badhost+missing.image",
      ]
  
      run_failure_test_multiple(
          conf.fixtures_path("failures/bad-image.yaml"),
          conf.fixtures_path("failures/"),
          errors,
      )
  
imports: import logging
  import sys
  from typing import List
  import pytest
  import torch
  from determined.common.api import bindings
  from tests import api_utils, command
  from tests import config
  from tests import experiment
label_desc: Use image node_id 3 for calling a global function with example usage: test_docker_image() without return types