forked from NVIDIA-Omniverse/synthetic-data-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevcontainer.json
54 lines (54 loc) · 1.25 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// See https://aka.ms/vscode-remote/containers for the
// documentation about the devcontainer.json format
{
"name": "nvidia.omniverse",
"build": {
"dockerfile": "dockerfile"
},
"runArgs": [
"--name",
"nvidia.omniverse",
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/root/.ssh-localhost:ro",
"-v",
"${env:HOME}${env:USERPROFILE}/.kube:/root/.kube-localhost:ro",
"-v",
"/var/run/docker.sock:/var/run/docker.sock",
"--network",
"host",
"--gpus",
"all",
"-e",
"ACCEPT_EULA=Y",
"-e",
"PRIVACY_CONSENT=N"
],
"postCreateCommand": "mkdir -p ~/.ssh && cp -r ~/.ssh-localhost/* ~/.ssh && chmod 700 ~/.ssh && chmod 600 ~/.ssh/* && mkdir -p ~/.kube && cp -r ~/.kube-localhost/* ~/.kube",
"appPort": [
"5003:5003"
],
"extensions": [
"kosunix.guid",
"eamodio.gitlens",
"redhat.vscode-yaml",
"rogalmic.bash-debug",
"mikeburgh.xml-format",
"donjayamanne.githistory",
"ms-azuretools.vscode-docker",
"ms-azure-devops.azure-pipelines",
],
"settings": {
"extensions.autoUpdate": false,
"files.exclude": {
"**/CVS": true,
"**/bin": true,
"**/obj": true,
"**/.hg": true,
"**/.svn": true,
"**/.git": true,
"**/.DS_Store": true,
"**/BenchmarkDotNet.Artifacts": true
}
},
"shutdownAction": "stopContainer",
}