Skip to content

Docker container not found during fakeide run — container never created #4

@Shuyang-Liu

Description

@Shuyang-Liu

I'm encountering a Docker-related error when running the following command:

fakeide -v run --api-key <API-KEY> --model deepseek-chat --docker tasks/swe/verified --experiment debug-run

The container expected for task execution is not found, and it appears that the container was never created in the first place. Here's the traceback:

Traceback (most recent call last):
  File "refact-bench/refact_scenarios/tasks/orchestrator.py", line 162, in limited_worker
    task_result = await run_single_task(
  File "refact-bench/refact_scenarios/tasks/orchestrator.py", line 87, in run_single_task
    await run_task_internal(
  File "refact-bench/refact_scenarios/tasks/runner.py", line 173, in run_task_internal
    results = await run_verification(
  File "refact-bench/refact_scenarios/tasks/verification.py", line 113, in run_verification
    logger.info(docker_client.put_archive(container_name, str(verify_py_workdir), tar_stream.getvalue()))
  File "site-packages/docker/utils/decorators.py", line 19, in wrapped
    return f(self, resource_id, *args, **kwargs)
  File "miniconda3/envs/refact/lib/python3.11/site-packages/docker/api/container.py", line 991, in put_archive
    self._raise_for_status(res)
  File "miniconda3/envs/refact/lib/python3.11/site-packages/docker/api/client.py", line 277, in _raise_for_status
    raise create_api_error_from_http_exception(e) from e
  File "miniconda3/envs/refact/lib/python3.11/site-packages/docker/errors.py", line 39, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation) from e

Exception: Encountered error during task execution:
404 Client Error for http+docker://localhost/v1.45/containers/refact-fakeide-5

Notes:

  • I followed the instructions in the README.md to compile the static LSP binary and set up the Docker integration configuration.
  • The image refact-lsp-builder does exist (docker images shows it).
  • However, the container refact-fakeide-5748931645 does not appear in docker ps -a, which suggests it was never created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions