- Copy the Linux configuration file:
cp .devcontainer/devcontainer.json.linux .devcontainer/devcontainer.json
mkdir -p workspace
- Open the project in Visual Studio Code, then press
Ctrl + Shift + P
and chooseDev Containers: Reopen in Container
.
- Copy the Windows configuration file:
Copy-Item .devcontainer/devcontainer.json.windows .devcontainer/devcontainer.json
New-Item -ItemType Directory -Path .\workspace
- Open the project in Visual Studio Code, then press
Ctrl + Shift + P
and chooseDev Containers: Reopen in Container
.
If you encounter Windows X11 display issues, please refer to the following link for a solution: Windows x11 解決方法