Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot locate devcontainer.json when using multi-workspace config #10545

Open
austinhallett opened this issue Dec 9, 2024 · 0 comments
Open
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers debt
Milestone

Comments

@austinhallett
Copy link

  • VSCode Version: 1.95.3
  • Local OS Version: macOS 14.6.1
  • Remote OS Version: Ubuntu 22.04 (jammy)
  • Remote Extension/Connection Type: Containers/WSL/Server
  • Logs:
[2024-12-09T18:14:55.927Z] Error: Dev container config (/home/prj/workspace/.devcontainer/devcontainer.json) not found.
[2024-12-09T18:14:55.927Z]     at TtA (/home/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/spec-node/devContainersSpecCLI.js:482:3225)
[2024-12-09T18:14:55.927Z]     at async iB (/home/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/spec-node/devContainersSpecCLI.js:482:4963)
[2024-12-09T18:14:55.927Z]     at async wrA (/home/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/spec-node/devContainersSpecCLI.js:663:203)
[2024-12-09T18:14:55.927Z]     at async DrA (/home/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/spec-node/devContainersSpecCLI.js:662:14830)
[2024-12-09T18:14:55.927Z]     at async /home/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/spec-node/devContainersSpecCLI.js:482:1190

Steps to Reproduce:

  1. Create devcontainer from multi-workspace config (select either)
.devcontainer/
    ├── workspace1/
    │   └── devcontainer.json
    └── workspace2/
        └── devcontainer.json
  1. Exit devcontainer
  2. reopen the same devcontainer from the devcontainer panel

Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes

@vs-code-engineering vs-code-engineering bot added the containers Issue in vscode-remote containers label Dec 9, 2024
@chrmarti chrmarti added bug Issue identified by VS Code Team member as probable bug debt labels Dec 10, 2024
@chrmarti chrmarti added this to the January 2025 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug containers Issue in vscode-remote containers debt
Projects
None yet
Development

No branches or pull requests

2 participants