Ubuntu Docker image with VNC and Supervisord. It is intended to be a base docker image for web application development.
docker build -t ubuntu-vnc-supervisor .
docker run --name my_ubuntu -d -p 5900:5900 -p 6901:6901 ubuntu-vnc-supervisor
Enter yourhost:5900
. The default password is 'vncpassword'.
http://localhost:6901/?password=vncpassword
You can change the default password via VNC_PW
environment variable.
COPY
your supervisord .conf file to /etc/supervisor/conf.d/
Add your self.pem
to the cert
folder. It will be used for enforcing HTTPS automaticaly.
You can change these default values via docker run
-e
option.
NO_VNC_PORT=6901
NO_VNC_CERT_FILE=self.pem
DESKTOP_BACKGROUND_COLOR=yellow #green, orange