Skip to content

.continue files not found when project runs in dev container #6320

Closed as not planned

Description

@KaiMildner

Before submitting your bug report

Relevant environment info

- OS: Win 10
- Continue version: 1.0.15
- IDE version: VS Code 1.101.2
- Model: doesn't matter
- config:
  

  
  OR link to assistant in Continue hub:

Description

Hi.

I added some rules and prompts to my project and all is working fine, as long as I don't open the project in a dev container. When I open the project in a dev container I get the following error for each prompt or rules file:

ENOENT: no such file or directory, open 'C:\Users\kai\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev- ..... workspaces/src/.continue/rules/pythonExpert.yaml

See log attachement for more

Is this a known issue?

BR

Kai

To reproduce

  1. Create a project
  2. Create a devcontainer.json
  3. Add a rule or prompt to the project
  4. Reopen the project in Dev container

Log output

ENOENT: no such file or directory, open 'C:\Users\kai\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev-container%2B7b22686f737450617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c737263222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c7372635c5c2e646576636f6e7461696e65725c5c646576636f6e7461696e65722e6a736f6e222c225f736570223a312c2265787465726e616c223a2266696c653a2f2f2f632533412f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f633a2f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d\workspaces\src\.continue\rules\pythonExpert.yaml'.
> vscode-remote://dev-container%2B7b22686f737450617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c737263222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c22667350617468223a22633a5c5c536f757263655c5c4e54545f6c6962735c5c7372635c5c2e646576636f6e7461696e65725c5c646576636f6e7461696e65722e6a736f6e222c225f736570223a312c2265787465726e616c223a2266696c653a2f2f2f632533412f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c2270617468223a222f633a2f536f757263652f4e54545f6c6962732f7372632f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a2266696c65227d7d/workspaces/src/.continue/rules/pythonExpert.yaml

Activity

  1. added
    ide:vscode
    kind:bug
    on Jun 27, 2025
  2. aharonamir commented on Jul 23, 2025

    @aharonamir

    Have the same issue with new-doc.yaml:
    "ENOENT: no such file or directory, open 'C:\Users\a00644753\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\attached-container%2B7b22636f6e7461696e65724e616d65223a222f616d69722d626c75655f646576227d@ssh-remote%2B10.74.98.35\root\blue.continue\docs\new-doc.yaml'."
    When running inside a dev container in remote machine.

  3. dannysemi commented on Jul 27, 2025

    @dannysemi

    Same with mcp server

    ENOENT: no such file or directory, open 'C:\Users\redacted\AppData\Local\Programs\Microsoft VS Code\vscode-remote:\dev-container%2B7b22686f737450617468223a22633a5c5c55736572735c5c6473656d615c5c446f63756d656e74735c5c70726f6a656374735c5c53696c6c7954617665726e5c5c72656163742d706978692d7465737473222c226c6f63616c446f636b6572223a66616c73652c2273657474696e6773223a7b22636f6e74657874223a226465736b746f702d6c696e7578227d2c22636f6e66696746696c65223a7b22246d6964223a312c2270617468223a222f633a2f55736572732f6473656d612f446f63756d656e74732f70726f6a656374732f53696c6c7954617665726e2f72656163742d706978692d74657374732f2e646576636f6e7461696e65722f646576636f6e7461696e65722e6a736f6e222c22736368656d65223a227673636f64652d66696c65486f7374227d7d\workspaces\test\.continue\mcpServers\new-mcp-server.yaml'.

  4. dannysemi commented on Jul 28, 2025

    @dannysemi

    FWIW, I was able to get around this by adding "remote.extensionKind": { "Continue.continue": "workspace" }, to my global vscode user settings.json.

  5. krsyoung commented on Sep 22, 2025

    @krsyoung

    I've bumped into the same (very similar?) issue but with VS Code DevContainers on Mac being unable to find config.json via my /Users/... path which isn't available in the container.

    The "workspace" configuration workaround from @dannysemi and a local .continue/config.yaml allows my agent file (.continue/agents/agent.yaml to finally load). Same deal here: #6339

    However, I now think this workaround breaks my LAN-hosted ollama models as I now get ETIMEDOUT. Makes sense as my devcontainer can't resolve or access the local network. Not sure how to fix this at the moment but a heads-up for anybody else who might be celebrating the files being resolved only to lose access to all models.

    UPDATE For the record I had overlapping subnets. docker network prune did the trick for me.

  6. SCP002 commented on Nov 7, 2025

    @SCP002

    FWIW, I was able to get around this by adding "remote.extensionKind": { "Continue.continue": "workspace" }, to my global vscode user settings.json.

    After that I had to add:

    - ~/.continue/config.yaml:/root/.continue/config.yaml

    to my devcontainer volumes section in docker-compose.yml for Continue to see models config.

    (to the /root/ probably because I has "remoteUser": "root" in devcontainer.json)

  7. bchanez commented on Dec 22, 2025

    @bchanez

    Hi,

    I was able to get Continue working inside a DevContainer on Mac using the following setup:

    DevContainer / Docker Compose

    services:
      dev:
        container_name: dev
        build:
          context: ../../
          dockerfile: docker/dev/dockerfile
        command: sleep infinity
        volumes:
          - ../..:/app

    Continue project config (.continue/agents/project-config.yml)

    name: Project Config
    version: 1.0.0
    schema: v1
    
    models:
      - name: Qwen3 Local
        provider: ollama
        model: qwen3:14b
        apiBase: http://host.docker.internal:11434

    VS Code settings

    "remote.extensionKind": {
        "Continue.continue": "workspace"
    }

    Notes

    • The key is to force the extension to run in the workspace (container), otherwise it will try to access local paths on the host and fail.
    • Using host.docker.internal allows the container to reach the Ollama instance running on the host machine.
    • No need to mount your host ~/.continue folder; Continue can read the project config directly from .continue/agents/ in the workspace.

    With this setup, Continue can successfully load the .continue/agents/project-config.yml and access the Ollama model from the container.

  8. gboeer commented on Jan 28, 2026

    @gboeer

    FWIW, I was able to get around this by adding "remote.extensionKind": { "Continue.continue": "workspace" }, to my global vscode user settings.json.

    Wow, this actually did solve it for me, thanks.

  9. github-actions commented on Apr 29, 2026

    @github-actions
    Contributor

    This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

  10. github-actions commented on May 9, 2026

    @github-actions
    Contributor

    This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ide:vscodekind:bugstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions