Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madebygps/multiple-dev-container-vscode
An example repo on how to use multiple devcontainer.json files with VS Code.
https://github.com/madebygps/multiple-dev-container-vscode
devcontainers
Last synced: about 2 months ago
JSON representation
An example repo on how to use multiple devcontainer.json files with VS Code.
- Host: GitHub
- URL: https://github.com/madebygps/multiple-dev-container-vscode
- Owner: madebygps
- License: mit
- Created: 2023-11-13T16:54:30.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-16T14:17:59.000Z (11 months ago)
- Last Synced: 2024-04-28T03:26:21.240Z (8 months ago)
- Topics: devcontainers
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 12
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Working with multiple dev containers in VS Code
## Prerequisites
- [Dev Containers Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) installed in VS Code.
## How to use multiple dev containers in a single VS Code window
- Open local VS Code window on cloned repo.
- From the command palette `Dev Containers: Reopen in Container`, pick Python Container.
- This will open a new VS Code window connected to the selected container.
- From the command palette `Dev Containers: Switch Container`, pick Node Container.
- This will reload the VS Code window connected to the selected container.## How to use multiple dev containers in a multiple VS Code window
1. Open local VS Code window on cloned repo.
2. From the command palette `Dev Containers: Reopen in Container`, pick Python Container.
3. This will open a new VS Code window connected to the selected container.
4. Go to File > New Window.
5. In this new window, from the command palette `Dev Containers: Reopen in Container`, pick Node Container.
6. This will open a new VS Code window connected to the selected container.## Additional Resources
- [Dev Containers Supporting tools and services](https://containers.dev/supporting)
- [Dev Containers Documentation for VS Code](https://code.visualstudio.com/docs/remote/containers)
- [Dev Containers Documentation](https://containers.dev/)