/ .devcontainer / devcontainer.json
devcontainer.json
 1  // For format details, see https://aka.ms/devcontainer.json. For config options, see the
 2  // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
 3  {
 4  	"name": "Node.js & TypeScript",
 5  	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
 6  	"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
 7  	"features": {
 8  		"ghcr.io/devcontainers/features/docker-in-docker:2": {
 9  			"moby": true,
10  			"azureDnsAutoDetection": true,
11  			"installDockerBuildx": true,
12  			"installDockerComposeSwitch": true,
13  			"version": "latest",
14  			"dockerDashComposeVersion": "v2"
15  		}
16  	}
17  
18  	// Features to add to the dev container. More info: https://containers.dev/features.
19  	// "features": {},
20  
21  	// Use 'forwardPorts' to make a list of ports inside the container available locally.
22  	// "forwardPorts": [],
23  
24  	// Use 'postCreateCommand' to run commands after the container is created.
25  	// "postCreateCommand": "yarn install",
26  
27  	// Configure tool-specific properties.
28  	// "customizations": {},
29  
30  	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
31  	// "remoteUser": "root"
32  }