From 6172758722333678bfc548571125d34d913609a4 Mon Sep 17 00:00:00 2001 From: DCsunset Date: Sun, 2 Feb 2020 04:03:49 -0800 Subject: [PATCH] doc: update usage --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 662257c..9a72e6f 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,16 @@ Xfce desktop environment. ## 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, then the security type of vncserver is set to None, it is **insecure** when exposing the container on the Internet. @@ -25,6 +31,7 @@ only the following applications are installed by default: * Xfce desktop * TigerVNC server +* noVNC * Vim * Chromium browser