code: def test(tagname: str, cmd: List[str]):
      run_cmd = ["docker", "run"]
      run_cmd.append(tagname)
      run_cmd.extend(cmd)
      subprocess.run(run_cmd, check=True)
  
imports: import os
  from typing import List, Optional
  import fire
  import subprocess
label_desc: Use image node_id 2 for calling a global function with example usage: test(tagname, cmd) without return types