mirror of
https://github.com/DCsunset/docker-archlinux-vnc
synced 2025-12-06 17:04:58 +01:00
doc: update usage
This commit is contained in:
parent
ec883e62ab
commit
6172758722
1 changed files with 8 additions and 1 deletions
|
|
@ -5,10 +5,16 @@ Xfce desktop environment.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Simple usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -d -p 5900:5900 -e VNC_PASSWD=password dcsunset/ubuntu-vnc
|
docker run -d -p 5900:5900 -p 6080:6080 -e VNC_PASSWD=password dcsunset/ubuntu-vnc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then visit http://localhost:6080 to visit noVNC UI.
|
||||||
|
Or you can use a different VNC client (like TigerVNC client)
|
||||||
|
and connect to localhost:5900.
|
||||||
|
|
||||||
If `VNC_PASSWD` is not set,
|
If `VNC_PASSWD` is not set,
|
||||||
then the security type of vncserver is set to None,
|
then the security type of vncserver is set to None,
|
||||||
it is **insecure** when exposing the container on the Internet.
|
it is **insecure** when exposing the container on the Internet.
|
||||||
|
|
@ -25,6 +31,7 @@ only the following applications are installed by default:
|
||||||
|
|
||||||
* Xfce desktop
|
* Xfce desktop
|
||||||
* TigerVNC server
|
* TigerVNC server
|
||||||
|
* noVNC
|
||||||
* Vim
|
* Vim
|
||||||
* Chromium browser
|
* Chromium browser
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue