[新服务]xfce-vnc+Docker(Chrome+Firefox)

Tags:

目的

  • 云端浏览器 vnc through web – consol/ubuntu-xfce-vnc
  • 类似于 之前的本馆文档

参考

实现

docker rm -f novnc # if exists

VIA_PROTOCAL_PORT=15901
VIA_WEB_PORT=16901
RESOLUTION=1024x768
PW=fE7SwJ8fMz

docker run -d --restart=always \
  --name=novnc \
  -p ${VIA_PROTOCAL_PORT}:5901 -p ${VIA_WEB_PORT}:6901 \
  --user $(id -u):$(id -g) \
  -e VNC_RESOLUTION=${RESOLUTION} \
  -e VNC_PW=${PW} \
  consol/centos-xfce-vnc

# centos is more reliable
# consol/centos-xfce-vnc
# consol/ubuntu-xfce-vnc

docker logs -f novnc

Leave a Reply