Skip to content

📺 noVNC Display Container for Docker, Podman...

License

Cyclenerd/ubuntu-vnc-browser-container

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

noVNC Display Container

This container image is intended to be used for displaying X11 applications from containers in a browser.

Screenshot: macOS Safari with Firefox in a container

Container Contents

Variables

You can specify the following variables (default):

  • DISPLAY_WIDTH=<width> (1920)
  • DISPLAY_HEIGHT=<height> (1080)
  • RUN_TERMINAL={True|False} (False)
  • RUN_FLUXBOX={True|False} (True)
  • RUN_FIREFOX={True|False} (False)
  • RUN_DOOM={True|False} (False)

Build the Container

This command builds the Docker image from the Dockerfile in the current directory. The -t novnc option tags the image with the name novnc.

docker build -t novnc .

Run the Container

This command starts a container from the novnc image.

docker run -p 8080:8080 novnc

Autostart Firefox Example

This command starts a container from the novnc image and automatically starts Firefox.

docker run -p 8080:8080 -e RUN_FIREFOX=True novnc

Open a browser and see the desktop at http://localhost:8080/.

Thanks

This container is based on the container by @theasp: https://github.com/theasp/docker-novnc

Languages

  • Dockerfile 71.2%
  • Shell 28.8%