Skip to content

andrewalderson/multiple-dev-container-vscode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Working with multiple dev containers in VS Code

Prerequisites

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

About

An example repo on how to use multiple devcontainer.json files with VS Code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.7%
  • Python 42.3%