Author : MD TAREQ HASSAN | Updated : 2023/07/24

Scenario

devcontainer.json

Create devcontainer.json from scratch (manually)

devcontainer.json

{
	"name": "Node.js & TypeScript",
	
	"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
	
	"features": {
		"ghcr.io/devcontainers/features/azure-cli:1": {},
		"ghcr.io/devcontainers/features/powershell:1": {}
	}

}

Create devcontainer.json using VSCode

Run devcontainer

Edit the contents of the devcontainer.json as required, the launch devcontainer as following:

Notes:

Stop devcontainer