code: def test_launch_cli_with_config_file_and_params(
      runner, mocked_fetchable_git_repo, monkeypatch, live_mock_server
  ):
      config = {
          "uri": "https://wandb.ai/mock_server_entity/test_project/runs/1",
          "project": "test_project",
          "entity": "mock_server_entity",
          "resource": "local-container",
          "overrides": {"args": ["--epochs", "5"]},
      }
  
      async def _mock_build(*args, **kwargs):
          return "testimage:12345"
  
      monkeypatch.setattr(
          wandb.sdk.launch.builder.docker_builder.DockerBuilder,
          "build_image",
          lambda s, lp, e, jt: _mock_build(s, lp, e, jt),
      )
  
      monkeypatch.setattr(
          "wandb.sdk.launch.runner.local_container._run_entry_point",
          patched_run_run_entry,
      )
  
      with runner.isolated_filesystem():
          with open("config.json", "w") as fp:
              json.dump(
                  config,
                  fp,
              )
  
          result = runner.invoke(
              cli.launch,
              [
                  "-c",
                  "config.json",
                  "-u"
                  "https://wandb.ai/mock_server_entity/test_project/runs/1",
                  "--async",
              ],
          )
          print(result.output)
          assert result.exit_code == 0
          assert (
              "Launching run in docker with command: docker run"
              in result.output
          )
  
imports: import json
  import os
  from unittest.mock import Mock
  import pytest
  import wandb
  from wandb.apis import public
  from wandb.cli import cli
  from .test_launch import mock_load_backend, mocked_fetchable_git_repo
label_desc: Use image node_id 8 for calling a global function with example usage: test_launch_cli_with_config_file_and_params(runner, mocked_fetchable_git_repo, monkeypatch, live_mock_server) and returns: str