code: def ensure_docker_can_run() -> None:
      
      logger.info("checking docker can run")
      version = docker_client.version()["ApiVersion"]
      docker_client.containers.run("hello-world")
      logger.debug(f"using docker API version {version}")
docs: :raises docker.errors.ContainerError
      :raises docker.errors.ImageNotFound
      :raises docker.errors.APIError