Skip to content

Base Docker image, to run desktop applications in a web browser tab

Notifications You must be signed in to change notification settings

MohamedAllali/docker-vnc-base

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-vnc-base

This repository holds a Docker image configured to run a VNC server compatible with 3D acceleration using Nvidia GPUs.

Instructions

Build the image locally:

cd src
docker build -t vnc-base . 

Run the image locally:

docker run --rm -it --gpus all --shm-size=512m -p 6901:6901 -e VNC_DISABLE_AUTH=true --user root vnc-base

Open a browser and go to: https://localhost:6901

Configuration

Available environment variables:

Variable Description Default
VNC_DISABLE_AUTH Disable VNC authentication (no user/password required, use with caution) false
VNC_PW Password for the basic auth (the user is always: "user") vncpassword
VNC_PORT VNC port 6901
VNC_ALLOW_CLIENT_TO_OVERRIDE_VNC_SETTINGS Enable/disable the client to override the VNC settings, it does not have effect on the web UI false

About

Base Docker image, to run desktop applications in a web browser tab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 40.5%
  • Shell 38.5%
  • HTML 16.2%
  • Dockerfile 4.8%