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
@@ -73,9 +73,10 @@ docker run -d --restart=on-failure \
73
73
-e UID=$(id -u) \
74
74
-p 10022:22 \
75
75
-p 14000:4000 \
76
+
-p 15000:5000 \
76
77
gezp/ubuntu-desktop:20.04-cu11.0.3
77
78
78
-
# create conatiner with kasmvnc/novnc
79
+
# create container with kasmvnc/novnc
79
80
docker run -d --restart=on-failure \
80
81
--name my_workspace \
81
82
--gpus all \
@@ -87,38 +88,42 @@ docker run -d --restart=on-failure \
87
88
-e REMOTE_DESKTOP=kasmvnc \
88
89
-p 10022:22 \
89
90
-p 14000:4000 \
91
+
-p 15000:5000 \
90
92
gezp/ubuntu-desktop:20.04-cu11.0.3
91
93
```
92
94
* the default username and password are both ubuntu.
93
95
94
-
access conatiner by ssh
96
+
access container by ssh
95
97
```bash
96
98
ssh ubuntu@host-ip -p 10022
97
99
```
98
100
* it's recommended to use vscode + remote ssh plugin
99
101
100
-
access conatiner by remote desktop (nomachine)
102
+
access container by remote desktop (nomachine)
101
103
102
104
* download and install [nomachine software](https://www.nomachine.com/).
103
105
* the ip is host's ip, the port is 14000.
104
106
105
-
access conatiner by remote desktop (kasmvnc/novnc)
107
+
access container by remote desktop (kasmvnc/novnc)
106
108
107
109
* use browser to access `https://<host-ip>:14000` (chrome is recommended)
108
110
109
-
> Tip `novnc` option based on [TurboVNC](https://github.com/TurboVNC/turbovnc) + [noVNC](https://github.com/novnc/noVNC), which are free and open-source software.
111
+
> Tip `novnc` option based on [TurboVNC](https://github.com/TurboVNC/turbovnc) + [noVNC](https://github.com/novnc/noVNC), which are free and open-source softwares.
110
112
111
113
features of moachine/kasmvnc/novnc:
112
114
113
115
* moachine: need client software to access remote desktop, and support audio, uploads, downloads.
114
116
* kasmvnc/novnc: provide remote web-based access to desktop, but it doesn't support audio, uploads, downloads, and microphone pass-through.
115
117
118
+
access container by [code-server](https://github.com/coder/code-server) (VS Code in the browser)
119
+
120
+
* use browser to access `https://<host-ip>:15000` (chrome is recommended)
116
121
117
122
## Advanced Usage
118
123
119
124
#### Custom User Argument
120
125
121
-
configure by setting environment variables when you create conatiner.
126
+
configure by setting environment variables when you create container.
0 commit comments