code: def test_docker_login() -> None:
      # Creates an experiment that references a valid docker image,
      # but it fails to download due to the lack of a docker login.
      # There are two potential errors that may occur. This is due
      # to docker download rate limitations. The error that occurs
      # depends on the amount of docker downloads on a given day.
      # The Docker error is split into two errors due to slightly
      # different potential outputs from the launcher.
  
      errorPermission = (
          "latest in docker.io/ilumb/mylolcow: errors: "
          + "denied: requested access to the resource is denied"
      )
      errorDocker = "lstat /root/.config/containers/registries.conf.d: permission denied"
      errors = [errorPermission, errorDocker]
      run_failure_test_multiple(
          conf.fixtures_path("failures/docker-login-failure.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 8 for calling a global function with example usage: test_docker_login() without return types