Optional
appOptional
containerContainer environment variables.
Optional
containerThe user the container will be started with. The default is the user on the Docker image.
Optional
mountsMount points to set up when creating the container. See Docker's documentation for the --mount option for the supported syntax.
Optional
overrideWhether to overwrite the command specified in the image. The default is true.
Optional
runThe arguments required when starting in the container.
Optional
shutdownAction to take when the user disconnects from the container in their editor. The default is to stop the container.
Optional
workspaceThe path of the workspace folder inside the container.
Optional
workspaceThe --mount parameter for docker run. The default is to mount the project folder at /workspaces/$project.
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'.