code: def podman_docker_cluster():
      start_container_command = [
          "docker",
          "run",
          "-d",
          "--privileged",
          "-v",
          "/var/run/docker.sock:/var/run/docker.sock",
          "-v",
          "/var/lib/containers:/var/lib/containers",
          # For testing environment variables
          "--env",
          "RAY_TEST_ABC=1",
          "--env",
          "TEST_ABC=1",
          IMAGE_NAME,
          "tail",
          "-f",
          "/dev/null",
      ]
      container_id = subprocess.check_output(
          start_container_command
      ).decode("utf-8")
      container_id = container_id.strip()
  
      # Get group id that owns the docker socket file. Add user `ray` to
      # group to get necessary permissions for pulling an image from
      # docker's local storage into podman
      docker_group_id = run_in_container(
          [["stat", "-c", "%g", "/var/run/docker.sock"]], container_id
      )[0]
      run_in_container(
          [
              ["id"],
              ["sudo", "groupadd", "-g", docker_group_id, "docker"],
              ["sudo", "usermod", "-aG", "docker", "ray"],
              ["podman", "pull", f"docker-daemon:{IMAGE_NAME}"],
          ],
          container_id,
      )
  
      # Add custom file to new image tagged `runtime_env_container_nested`,
      # which can be read by Ray actors / Serve deployments to verify the
      # container runtime env plugin. Also add serve application that will
      # be imported by the telemetry test.
      serve_app = """
  from ray import serve
  @serve.deployment
  class Model:
      def __call__(self):
          with open("file.txt") as f:
              return f.read().strip()
  app = Model.bind()
  """
  
      run_in_container(
          [
              ["bash", "-c", "echo helloworldalice >> /tmp/file.txt"],
              [
                  "bash",
                  "-c",
                  f"echo '{serve_app}' >> /tmp/serve_application.py",
              ],
              [
                  "podman",
                  "create",
                  "--name",
                  "tmp_container",
                  IMAGE_NAME,
              ],
              [
                  "podman",
                  "cp",
                  "/tmp/file.txt",
                  "tmp_container:/home/ray/file.txt",
              ],
              [
                  "podman",
                  "cp",
                  "/tmp/serve_application.py",
                  "tmp_container:/home/ray/serve_application.py",
              ],
              ["podman", "commit", "tmp_container", NESTED_IMAGE_NAME],
          ],
          container_id,
      )
  
      # For debugging
      run_in_container([["podman", "image", "ls"]], container_id)
  
      yield container_id
  
      subprocess.check_call(["docker", "kill", container_id])
  
file_path: ray/python/ray/tests/conftest_docker.py
imports: import time
  import pytest
  from pytest_docker_tools import container, fetch, network, volume
  from pytest_docker_tools import wrappers
  import subprocess
  from typing import List
label_desc: Use image node_id 3 for calling a global function with example usage: podman_docker_cluster() without return types