|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/docker-existing-dockerfile |
3 | 3 | { |
4 | | - "name": "Existing Dockerfile", |
| 4 | + "name": "Existing Dockerfile", |
5 | 5 |
|
6 | | - // Sets the run context to one level up instead of the .devcontainer folder. |
7 | | - "context": "..", |
| 6 | + // Sets the run context to one level up instead of the .devcontainer folder. |
| 7 | + "context": "..", |
8 | 8 |
|
9 | | - // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. |
10 | | - "dockerFile": "../Dockerfile", |
| 9 | + // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. |
| 10 | + "dockerFile": "../Dockerfile", |
11 | 11 |
|
12 | | - // Set *default* container specific settings.json values on container create. |
13 | | - "settings": {}, |
14 | | - |
15 | | - // Add the IDs of extensions you want installed when the container is created. |
16 | | - "extensions": [] |
| 12 | + // Set *default* container specific settings.json values on container create. |
| 13 | + "settings": {}, |
17 | 14 |
|
18 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
19 | | - // "forwardPorts": [], |
| 15 | + // Add the IDs of extensions you want installed when the container is created. |
| 16 | + "extensions": [] |
20 | 17 |
|
21 | | - // Uncomment the next line to run commands after the container is created - for example installing curl. |
22 | | - // "postCreateCommand": "apt-get update && apt-get install -y curl", |
| 18 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 19 | + // "forwardPorts": [], |
23 | 20 |
|
24 | | - // Uncomment when using a ptrace-based debugger like C++, Go, and Rust |
25 | | - // "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], |
| 21 | + // Uncomment the next line to run commands after the container is created - for example installing curl. |
| 22 | + // "postCreateCommand": "apt-get update && apt-get install -y curl", |
26 | 23 |
|
27 | | - // Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker. |
28 | | - // "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], |
| 24 | + // Uncomment when using a ptrace-based debugger like C++, Go, and Rust |
| 25 | + // "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], |
29 | 26 |
|
30 | | - // Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. |
31 | | - // "remoteUser": "vscode" |
| 27 | + // Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker. |
| 28 | + // "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], |
| 29 | + |
| 30 | + // Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. |
| 31 | + // "remoteUser": "vscode" |
32 | 32 | } |
0 commit comments