mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Add back VNC (microsoft/vscode-remote-release#8994)
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/desktop-lite:1": {}
|
||||
},
|
||||
"containerEnv": {
|
||||
"DISPLAY": "" // Allow the Dev Containers extension to set DISPLAY, post-create.sh will add it back in ~/.bashrc and ~/.zshrc if not set.
|
||||
},
|
||||
"overrideCommand": false,
|
||||
"privileged": true,
|
||||
"mounts": [
|
||||
@@ -29,6 +35,17 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"forwardPorts": [6080, 5901],
|
||||
"portsAttributes": {
|
||||
"6080": {
|
||||
"label": "VNC web client (noVNC)",
|
||||
"onAutoForward": "silent"
|
||||
},
|
||||
"5901": {
|
||||
"label": "VNC TCP port",
|
||||
"onAutoForward": "silent"
|
||||
}
|
||||
},
|
||||
"hostRequirements": {
|
||||
"memory": "9gb"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user