tigervnc, websokify, novnc and Nginx with s6-overlay in a docker image.
3.8K
tigervnc, websokify, novnc and Nginx with s6-overlay in a docker image.
VNC_GEOMETRY - VNC geometry; default: 800x600VNC_PASSWD - VNC password, no more than 8 chars; default: MAX8charUSER_PASSWD - user user password. If you specify it, it will change the password for user user and add it to sudoers. NOTE: This password can get by programs so it's not safe. default: (blank)vncmain.sh is a file which is a placeholder for foreground process running in VNC.
You can write a Dockerfile like this:
FROM oott123/novnc:latest
COPY vncmain.sh /app/vncmain.sh
And add foreground commands in your vncmain.sh:
#!/bin/bash
# Set them to empty is NOT SECURE but avoid them display in random logs.
export VNC_PASSWD=''
export USER_PASSWD=''
xterm
Then build and run your docker image. That's it!
Content type
Image
Digest
Size
220 MB
Last updated
over 6 years ago
docker pull oott123/novnc