This project created templates for using VS Code Remote - Containers extension by language.
Follow these steps to open this sample in a container:
-
If this is your first time using a development container, please follow the getting started steps.
-
Linux users: Update
USER_UID
andUSER_GID
in.devcontainer/Dockerfile
and"runArgs": [ "-u": "1000" ]
in.devcontainer/devcontainer.json
with your user UID/GID if not 1000 to avoid creating files as root. -
If you're not yet in a development container:
- Copy
.devcontainer
dir for your language to repository root.- Copy the
.vscode
if necessary.
- Copy the
- Update repository information in
.devcontainer/devcontainer.json
. - Press F1 and select the Remote-Containers: Open Folder in Container... command.
- Select your repository, wait for the container to start, and try things out!