Skip to content

yassine258/novnc-alpine-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile for noVNC

This repository provides the base image of noVNC.

Run (Simple)

You can run this image as follows.

$ docker run -it --rm -p 8080:8080 uphy/novnc-alpine

Please extend this image and install the GUI apps you want, because there's no applications installed in this image.

Run (With your apps)

For example, you can run 'xterm' on the docker container and provide the app in the browser as follows.

Create your Dockerfile like below.

FROM uphy/novnc-alpine
RUN \
    # Install xterm
    apk add xterm && \
    # Append xterm entry to supervisord.conf
    cd /etc/supervisor/conf.d && \
    echo '[program:xterm]' >> supervisord.conf && \
    echo 'command=xterm' >> supervisord.conf && \
    echo 'autorestart=true' >> supervisord.conf

Build and run the image.

$ docker build -t mynovnc .
$ docker run -it --rm -p 8080:8080 mynovnc

Open the browser http://localhost:8080.
Click 'Connect'.
Then you can see xterm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%