// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/docker-in-docker { "name": "Docker in Docker", "dockerFile": "Dockerfile", "runArgs": ["--init", "--privileged"], "mounts": ["source=dind-var-lib-docker,target=/var/lib/docker,type=volume"], "overrideCommand": false, // Set *default* container specific settings.json values on container create. "settings": {}, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "ms-azuretools.vscode-docker" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "npm run setup", // Use 'postStartCommand' to run commands after the container has started. "postStartCommand": "npm start -- --update", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" }