Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.01 KB

Docker SingleApp

A docker container made to run a single gui application over vnc

Usage

Using an existing image:

Firefox example

docker run --rm -d  -p 5901:5901/tcp outboundspade48/docker-singleapp:firefox

The password for all containers is password (very secure)

Since VNC authentication is old & insecure, it is recommended to use ssh tunneling or a secure proxy (see websockify)

Building your own:

Pull the base image with:

docker pull outboundspade48/docker-singleapp:base

Create a Dockerfile that looks like this:

FROM outboundspade48/docker-singleapp:base
USER root
RUN <command to install your app>
RUN echo "exec <command to start your app>" >> /.start
USER user

NOTE: make sure to add && tail -f /dev/null to the end of your start command if your app runs in the background


Visit the Docker Hub page for more information: https://hub.docker.com/r/outboundspade48/docker-singleapp