"description":"The location of the Dockerfile that defines the contents of the container. The path is relative to the folder containing the `devcontainer.json` file."
},
"context":{
"type":"string",
"description":"The location of the context folder for building the Docker image. The path is relative to the folder containing the `devcontainer.json` file."
},
"target":{
"type":"string",
"description":"Target stage in a multi-stage build."
},
"args":{
"type":"object",
"additionalProperties":{
"type":[
"string"
]
},
"description":"Build arguments."
}
},
"required":[
"dockerfile"
],
"additionalProperties":false
},
"appPort":{
"type":[
"integer",
"string",
"array"
],
"description":"Application ports that are exposed by the container. This can be a single port or an array of ports. Each port can be a number or a string. A number is mapped to the same port on the host. A string is passed to Docker unchanged and can be used to map ports differently, e.g. \"8000:8010\".",
"items":{
"type":[
"integer",
"string"
]
}
},
"containerEnv":{
"type":"object",
"additionalProperties":{
"type":"string"
},
"description":"Container environment variables."
},
"containerUser":{
"type":"string",
"description":"The user the container will be started with. The default is the user on the Docker image."
},
"updateRemoteUserUID":{
"type":"boolean",
"description":"Controls whether on Linux the container's user should be updated with the local user's UID and GID. On by default."
},
"mounts":{
"type":"array",
"description":"Mount points to set up when creating the container. See Docker's documentation for the --mount option for the supported syntax.",
"items":{
"type":"string"
}
},
"runArgs":{
"type":"array",
"description":"The arguments required when starting in the container.",
"items":{
"type":"string"
}
},
"shutdownAction":{
"type":"string",
"enum":[
"none",
"stopContainer"
],
"description":"Action to take when the VS Code window is closed. The default is to stop the container."
},
"overrideCommand":{
"type":"boolean",
"description":"Whether to overwrite the command specified in the image. The default is true."
},
"workspaceFolder":{
"type":"string",
"description":"The path of the workspace folder inside the container."
},
"workspaceMount":{
"type":"string",
"description":"The --mount parameter for docker run. The default is to mount the project folder at /workspaces/$project."
},
"name":{
"type":"string",
"description":"A name to show for the workspace folder."
},
"extensions":{
"type":"array",
"description":"An array of extensions that should be installed into the container.",
"errorMessage":"Expected format: '${publisher}.${name}' or '${publisher}.${name}@${version}'. Example: 'ms-dotnettools.csharp'."
}
},
"settings":{
"$ref":"vscode://schemas/settings/machine",
"description":"Machine specific settings that should be copied into the container. These are only copied when connecting to the container for the first time, rebuilding the container then triggers it again."
},
"forwardPorts":{
"type":"array",
"description":"Ports that are forwarded from the container to the local machine.",
"description":"A port, range of ports (ex. \"40000-55000\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression.",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
"description":"Remote environment variables. If these are used in the Integrated Terminal, make sure the 'Terminal > Integrated: Inherit Env' setting is enabled."
},
"remoteUser":{
"type":"string",
"description":"The user VS Code Server will be started with. The default is the same user as the container."
"description":"A command to run locally before anything else. This command is run before \"onCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"onCreateCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"updateContentCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"The user command to wait for before continuing execution in the background while the UI is starting up. The default is \"updateContentCommand\"."
"description":"The location of the Dockerfile that defines the contents of the container. The path is relative to the folder containing the `devcontainer.json` file."
},
"context":{
"type":"string",
"description":"The location of the context folder for building the Docker image. The path is relative to the folder containing the `devcontainer.json` file."
},
"build":{
"description":"Docker build-related options.",
"type":"object",
"properties":{
"target":{
"type":"string",
"description":"Target stage in a multi-stage build."
},
"args":{
"type":"object",
"additionalProperties":{
"type":[
"string"
]
},
"description":"Build arguments."
}
},
"additionalProperties":false
},
"appPort":{
"type":[
"integer",
"string",
"array"
],
"description":"Application ports that are exposed by the container. This can be a single port or an array of ports. Each port can be a number or a string. A number is mapped to the same port on the host. A string is passed to Docker unchanged and can be used to map ports differently, e.g. \"8000:8010\".",
"items":{
"type":[
"integer",
"string"
]
}
},
"containerEnv":{
"type":"object",
"additionalProperties":{
"type":"string"
},
"description":"Container environment variables."
},
"containerUser":{
"type":"string",
"description":"The user the container will be started with. The default is the user on the Docker image."
},
"updateRemoteUserUID":{
"type":"boolean",
"description":"Controls whether on Linux the container's user should be updated with the local user's UID and GID. On by default."
},
"mounts":{
"type":"array",
"description":"Mount points to set up when creating the container. See Docker's documentation for the --mount option for the supported syntax.",
"items":{
"type":"string"
}
},
"runArgs":{
"type":"array",
"description":"The arguments required when starting in the container.",
"items":{
"type":"string"
}
},
"shutdownAction":{
"type":"string",
"enum":[
"none",
"stopContainer"
],
"description":"Action to take when the VS Code window is closed. The default is to stop the container."
},
"overrideCommand":{
"type":"boolean",
"description":"Whether to overwrite the command specified in the image. The default is true."
},
"workspaceFolder":{
"type":"string",
"description":"The path of the workspace folder inside the container."
},
"workspaceMount":{
"type":"string",
"description":"The --mount parameter for docker run. The default is to mount the project folder at /workspaces/$project."
},
"name":{
"type":"string",
"description":"A name to show for the workspace folder."
},
"extensions":{
"type":"array",
"description":"An array of extensions that should be installed into the container.",
"errorMessage":"Expected format: '${publisher}.${name}' or '${publisher}.${name}@${version}'. Example: 'ms-dotnettools.csharp'."
}
},
"settings":{
"$ref":"vscode://schemas/settings/machine",
"description":"Machine specific settings that should be copied into the container. These are only copied when connecting to the container for the first time, rebuilding the container then triggers it again."
},
"forwardPorts":{
"type":"array",
"description":"Ports that are forwarded from the container to the local machine.",
"description":"A port, range of ports (ex. \"40000-55000\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression.",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
"description":"Remote environment variables. If these are used in the Integrated Terminal, make sure the 'Terminal > Integrated: Inherit Env' setting is enabled."
},
"remoteUser":{
"type":"string",
"description":"The user VS Code Server will be started with. The default is the same user as the container."
"description":"A command to run locally before anything else. This command is run before \"onCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"onCreateCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"updateContentCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"The user command to wait for before continuing execution in the background while the UI is starting up. The default is \"updateContentCommand\"."
"description":"The docker image that will be used to create the container."
},
"appPort":{
"type":[
"integer",
"string",
"array"
],
"description":"Application ports that are exposed by the container. This can be a single port or an array of ports. Each port can be a number or a string. A number is mapped to the same port on the host. A string is passed to Docker unchanged and can be used to map ports differently, e.g. \"8000:8010\".",
"items":{
"type":[
"integer",
"string"
]
}
},
"containerEnv":{
"type":"object",
"additionalProperties":{
"type":"string"
},
"description":"Container environment variables."
},
"containerUser":{
"type":"string",
"description":"The user the container will be started with. The default is the user on the Docker image."
},
"updateRemoteUserUID":{
"type":"boolean",
"description":"Controls whether on Linux the container's user should be updated with the local user's UID and GID. On by default."
},
"mounts":{
"type":"array",
"description":"Mount points to set up when creating the container. See Docker's documentation for the --mount option for the supported syntax.",
"items":{
"type":"string"
}
},
"runArgs":{
"type":"array",
"description":"The arguments required when starting in the container.",
"items":{
"type":"string"
}
},
"shutdownAction":{
"type":"string",
"enum":[
"none",
"stopContainer"
],
"description":"Action to take when the VS Code window is closed. The default is to stop the container."
},
"overrideCommand":{
"type":"boolean",
"description":"Whether to overwrite the command specified in the image. The default is true."
},
"workspaceFolder":{
"type":"string",
"description":"The path of the workspace folder inside the container."
},
"workspaceMount":{
"type":"string",
"description":"The --mount parameter for docker run. The default is to mount the project folder at /workspaces/$project."
},
"name":{
"type":"string",
"description":"A name to show for the workspace folder."
},
"extensions":{
"type":"array",
"description":"An array of extensions that should be installed into the container.",
"errorMessage":"Expected format: '${publisher}.${name}' or '${publisher}.${name}@${version}'. Example: 'ms-dotnettools.csharp'."
}
},
"settings":{
"$ref":"vscode://schemas/settings/machine",
"description":"Machine specific settings that should be copied into the container. These are only copied when connecting to the container for the first time, rebuilding the container then triggers it again."
},
"forwardPorts":{
"type":"array",
"description":"Ports that are forwarded from the container to the local machine.",
"description":"A port, range of ports (ex. \"40000-55000\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression.",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
"description":"Remote environment variables. If these are used in the Integrated Terminal, make sure the 'Terminal > Integrated: Inherit Env' setting is enabled."
},
"remoteUser":{
"type":"string",
"description":"The user VS Code Server will be started with. The default is the same user as the container."
"description":"A command to run locally before anything else. This command is run before \"onCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"onCreateCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"updateContentCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"The user command to wait for before continuing execution in the background while the UI is starting up. The default is \"updateContentCommand\"."
"errorMessage":"Expected format: '${publisher}.${name}' or '${publisher}.${name}@${version}'. Example: 'ms-dotnettools.csharp'."
}
},
"settings":{
"$ref":"vscode://schemas/settings/machine",
"description":"Machine specific settings that should be copied into the container. These are only copied when connecting to the container for the first time, rebuilding the container then triggers it again."
},
"forwardPorts":{
"type":"array",
"description":"Ports that are forwarded from the container to the local machine.",
"description":"A port, range of ports (ex. \"40000-55000\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression.",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
"description":"Remote environment variables. If these are used in the Integrated Terminal, make sure the 'Terminal > Integrated: Inherit Env' setting is enabled."
},
"remoteUser":{
"type":"string",
"description":"The user VS Code Server will be started with. The default is the same user as the container."
"description":"A command to run locally before anything else. This command is run before \"onCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"onCreateCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"updateContentCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"The user command to wait for before continuing execution in the background while the UI is starting up. The default is \"updateContentCommand\"."
"errorMessage":"Expected format: '${publisher}.${name}' or '${publisher}.${name}@${version}'. Example: 'ms-dotnettools.csharp'."
}
},
"settings":{
"$ref":"vscode://schemas/settings/machine",
"description":"Machine specific settings that should be copied into the container. These are only copied when connecting to the container for the first time, rebuilding the container then triggers it again."
},
"forwardPorts":{
"type":"array",
"description":"Ports that are forwarded from the container to the local machine.",
"description":"A port, range of ports (ex. \"40000-55000\"), or regular expression (ex. \".+\\\\/server.js\"). For a port number or range, the attributes will apply to that port number or range of port numbers. Attributes which use a regular expression will apply to ports whose associated process command line matches the expression.",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied when a specific port number is forwarded. For example:\n\n```\n\"3000\": {\n \"label\": \"Application\"\n},\n\"40000-55000\": {\n \"onAutoForward\": \"ignore\"\n},\n\".+\\\\/server.js\": {\n \"onAutoForward\": \"openPreview\"\n}\n```",
"Shows a notification when a port is automatically forwarded.",
"Opens the browser when the port is automatically forwarded. Depending on your settings, this could open an embedded browser.",
"Opens a preview in the same window when the port is automatically forwarded.",
"Shows no notification and takes no action when this port is automatically forwarded.",
"This port will not be automatically forwarded."
],
"description":"Defines the action that occurs when the port is discovered for automatic forwarding",
"default":"notify"
},
"elevateIfNeeded":{
"type":"boolean",
"description":"Automatically prompt for elevation (if needed) when this port is forwarded. Elevate is required if the local port is a privileged port.",
"default":false
},
"label":{
"type":"string",
"description":"Label that will be shown in the UI for this port.",
"markdownDescription":"Set default properties that are applied to all ports that don't get properties from the setting `remote.portsAttributes`. For example:\n\n```\n{\n \"onAutoForward\": \"ignore\"\n}\n```",
"description":"Remote environment variables. If these are used in the Integrated Terminal, make sure the 'Terminal > Integrated: Inherit Env' setting is enabled."
},
"remoteUser":{
"type":"string",
"description":"The user VS Code Server will be started with. The default is the same user as the container."
"description":"A command to run locally before anything else. This command is run before \"onCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"onCreateCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"items":{
"type":"string"
}
},
"updateContentCommand":{
"type":[
"string",
"array"
],
"description":"A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell.",
"description":"The user command to wait for before continuing execution in the background while the UI is starting up. The default is \"updateContentCommand\"."