You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/spec-node/devContainersSpecCLI.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,7 @@ function provisionOptions(y: Argv) {
105
105
'container-system-data-folder': {type: 'string',description: 'Container system data folder where system data inside the container will be stored.'},
106
106
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
107
107
'workspace-mount-consistency': {choices: ['consistent'as'consistent','cached'as'cached','delegated'as'delegated'],default: 'cached'as'cached',description: 'Workspace mount consistency.'},
108
+
'gpu-availability': {choices: ['all'as'all','detect'as'detect','none'as'none'],default: 'detect'as'detect',description: 'Availability of GPUs in case the dev container requires any. `all` expects a GPU to be available.'},
108
109
'mount-workspace-git-root': {type: 'boolean',default: true,description: 'Mount the workspace using its Git root.'},
109
110
'id-label': {type: 'string',description: 'Id label(s) of the format name=value. These will be set on the container and used to query for an existing container. If no --id-label is given, one will be inferred from the --workspace-folder path.'},
110
111
'config': {type: 'string',description: 'devcontainer.json path. The default is to use .devcontainer/devcontainer.json or, if that does not exist, .devcontainer.json in the workspace folder.'},
0 commit comments