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
{{ message }}
This repository was archived by the owner on Nov 30, 2023. It is now read-only.
|Non-root user||`automatic`| Specifies a user in the container other than root that will be using the desktop. A value of `automatic` will cause the script to check for a user called `vscode`, then `node`, `codespace`, and finally a user with a UID of `1000` before falling back to `root`. |
30
-
|VNC password||`vscode`| Password for connecting to the desktop.|
31
-
|Install noVNC flag||`true`| Flag (`true`/`false`) that specifies whether to enable web access to the desktop using [noVNC](https://novnc.com/info.html).|
34
+
|Desktop password|`password`|`vscode`| Password for connecting to the desktop.|
35
+
|Install web client flag||`true`| Flag (`true`/`false`) that specifies whether to enable web access to the desktop using [noVNC](https://novnc.com/info.html).|
36
+
|VNC Port|`vncPort`|`5901`| Port to host a VNC server that you can use to connect to the desktop using a VNC Viewer.|
37
+
|Web port |`webPort`|`6080`| Port to host the [noVNC](https://novnc.com/info.html) web client that you can use to connect to the desktop from a browser.|
32
38
33
39
## Usage
34
40
@@ -38,7 +44,11 @@ You can use this script for your primary dev container by adding it to the `feat
38
44
39
45
```json
40
46
"features": {
41
-
"desktop-lite": "latest"
47
+
"desktop-lite": {
48
+
"password": "vscode",
49
+
"webPort": "6080",
50
+
"vncPort": "5901"
51
+
}
42
52
}
43
53
```
44
54
@@ -71,7 +81,7 @@ If you have already built your development container, run the **Rebuild Containe
71
81
3. And the following to `.devcontainer/devcontainer.json` if you are referencing an image or Dockerfile:
@@ -81,8 +91,6 @@ If you have already built your development container, run the **Rebuild Containe
81
91
```yaml
82
92
your-service-here:
83
93
init: true
84
-
security_opt:
85
-
- seccomp:unconfined
86
94
```
87
95
88
96
The `runArgs` / Docker Compose setting allows the container to take advantage of an [init process](https://docs.docker.com/engine/reference/run/#specify-an-init-process) to handle application and process signals in a desktop environment.
0 commit comments