-
Notifications
You must be signed in to change notification settings - Fork 14
/
ubuntuVncDocker.md
38 lines (29 loc) · 1.08 KB
/
ubuntuVncDocker.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Ubuntu VNC Docker
A Docker image to provide web VNC interface to access Ubuntu LXDE/LxQT desktop environment.
## Docker
```sh
docker run -d --name ubuntu-vnc -p 6080:80 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
[http://localhost:6080/](http://localhost:6080/)
### HTTP Base Authentication
```sh
docker run -p 6080:80 -e HTTP_PASSWORD=mypassword -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
### Screen Resolution
```sh
docker run -p 6080:80 -e RESOLUTION=1920x1080 -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
### Default Desktop User
```sh
docker run -p 6080:80 -e USER=doro -e PASSWORD=password -v /dev/shm:/dev/shm dorowu/ubuntu-desktop-lxde-vnc
```
### Deploy to a subdirectory (relative url root)
```sh
docker run -p 6080:80 -e RELATIVE_URL_ROOT=some-prefix dorowu/ubuntu-desktop-lxde-vnc
```
## Runtime Environment
- [Python 3.9.x](https://www.python.org/downloads/)
## Screenshots
![](https://raw.github.com/fcwu/docker-ubuntu-vnc-desktop/master/screenshots/lxde.png?v1)
## References
- [VNC GitHub](https://github.com/fcwu/docker-ubuntu-vnc-desktop)