{"record":{"id":"2c75c356e66e181b","repo":"langchain-ai/langgraph","slug":"could-not-resolve-image-digest-for-remote-image","errorCode":null,"errorMessage":"Could not resolve image digest for {remote_image}; falling back to the tag-based reference. Re-run with --verbose for details.","messagePattern":"Could not resolve image digest for (.+?); falling back to the tag-based reference\\. Re-run with --verbose for details\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"libs/cli/langgraph_cli/deploy.py","lineNumber":923,"sourceCode":"    records the registry's manifest digest there after a successful push.\n    Falls back to ``remote_image`` with a warning if no matching digest is\n    found, rather than failing the deploy.\n    \"\"\"\n    # rsplit preserves ``:port`` in the registry host.\n    repo_no_tag = remote_image.rsplit(\":\", 1)[0]\n    args: list[str] = [\"docker\"]\n    if docker_config_dir:\n        args += [\"--config\", docker_config_dir]\n    args += [\"image\", \"inspect\", \"--format\", \"{{json .RepoDigests}}\", remote_image]\n    stdout, _ = runner.run(subp_exec(*args, collect=True, verbose=verbose))\n    try:\n        digests = json_mod.loads(stdout or \"[]\") or []\n    except json_mod.JSONDecodeError:\n        digests = []\n    for d in digests:\n        if isinstance(d, str) and d.startswith(f\"{repo_no_tag}@sha256:\"):\n            return d\n    _get_emitter().warn(\n        f\"Could not resolve image digest for {remote_image}; \"\n        \"falling back to the tag-based reference. Re-run with --verbose for details.\"\n    )\n    return remote_image\n\n\ndef _run_local_build(\n    *,\n    client: HostBackendClient,\n    deployment_id: str,\n    step: int,\n    config: pathlib.Path,\n    config_json: dict,\n    verbose: bool,\n    pull: bool,\n    api_version: str | None,\n    base_image: str | None,\n    image_name: str | None,","sourceCodeStart":905,"sourceCodeEnd":941,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/cli/langgraph_cli/deploy.py#L905-L941","documentation":"Error \"Could not resolve image digest for {remote_image}; falling back to the tag-based reference. Re-run with --verbose for details.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/cli/langgraph_cli/deploy.py:923 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}