31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
// 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.205.2/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",
|
|
"github.vscode-pull-request-github"
|
|
],
|
|
|
|
// 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": "docker --version",
|
|
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
"build": {
|
|
"args": {
|
|
"INSTALL_ZSH": "false"
|
|
}
|
|
}
|
|
}
|