- Install and configure Docker for your operating system.
- Install Visual Studio Code or Visual Studio Code Insiders.
- Install the Remote-Container Plugin
- copy the
.devcontainer
to your workplace of project
- Start VS Code, run the
Remote-Containers: Reopen in Container
... command from the Command Palette (F1
) or quick actions Status bar item, and select the project folder you would like to set up the container for. - run the
Remote-Containers: Rebuild and Reopen in Container
, If you change the .devcontainer config.
Reference | URL |
---|---|
microsoft-vscode-devcontainers | https://hub.docker.com/_/microsoft-vscode-devcontainers |
Remote-Containers | https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers |
Visual Studio | https://code.visualstudio.com/docs/remote/containers |