No description, website, or topics provided.
Shell
Latest commit 3d96011 Sep 23, 2016 @sparklyballs sparklyballs committed on GitHub Merge pull request #9 from berkutta/master
Fixed readme
Permalink
Failed to load latest commit information.
files Update install.sh May 5, 2015
Contributing.md create Contributing.md Dec 17, 2015
Dockerfile Enabling clipboard. May 5, 2015
LICENSE Initial. Oct 23, 2014
README.md Fixed readme Jul 31, 2016
build.sh Fixes. May 1, 2015
run.sh Fixes. May 1, 2015

README.md

Docker dockergui

Description:

dockergui is a base image based of phusion's base image version 0.9.16 with ssh disabled.

This Docker image makes it possible to use any X application on a headless server through a modern web browser such as chrome. Additionally xrdp is installed and the container can be accessed using any rdp client. You can access the web interface by going to port 8080 or rdp via port 3389.

How to use this image:

Example docker file:

# Builds a docker gui image
FROM hurricane/dockergui:xvnc

#########################################
##        ENVIRONMENTAL CONFIG         ##
#########################################

# Set environment variables

# User/Group Id gui app will be executed as default are 99 and 100
ENV USER_ID=99
ENV GROUP_ID=100

# Gui App Name default is "GUI_APPLICATION"
ENV APP_NAME="GUI_APPLICATION"

# Default resolution, change if you like
ENV WIDTH=1280
ENV HEIGHT=720

# Use baseimage-docker's init system
CMD ["/sbin/my_init"]

#########################################
##    REPOSITORIES AND DEPENDENCIES    ##
#########################################
RUN echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list

# Install packages needed for app

#########################################
##          GUI APP INSTALL            ##
#########################################

# Install steps for X app

# Copy X app start script to right location
COPY startapp.sh /startapp.sh

#########################################
##         EXPORTS AND VOLUMES         ##
#########################################

# Place whater volumes and ports you want exposed here:

Environment Variables

The dockergui image uses serveral optional enviromnet variable. All the ones listed in the example above plus the following:

TZ

This environment variable is used to set the TimeZone of the container.

Build from docker file (Info only, not required.):

git clone --depth=1 https://github.com/hurricanehernandez/dockergui.git 
cd tmm
docker build --rm=true -t dockergui .