Public | Automated Build

Last pushed: 10 months ago
Short Description
The Storj Share GUI - latest from git
Full Description

The Storj Share GUI (https://github.com/Storj/storjshare-gui) - latest from git.

Build

This image is built automatically every 8 hours, at 07:15, 15:15 and 23:15 (all times UTC), and whenever anything gets pushed to github. Pull the latest with:

shell$ docker pull oreandawe/storjshare-gui-git:latest

Local Build

Alternatively, build the container locally:

shell$ cd /path/to/your/buildarea
shell$ git clone https://github.com/zannen/docker-storjshare-gui-git
shell$ docker build -t oreandawe/storjshare-gui-git docker-storjshare-gui-git/

Running

First, find which X display is being used:

shell$ echo "$DISPLAY"
:8.0

Note the first number (eight in this example), as it's needed later.

Run the app in the foreground:

shell$ displaynumber=$(echo $DISPLAY | sed -e 's/^://;s/\..*$//')
shell$ docker run -ti --rm --name sjs_gui \
    -v /path/to/storjshare:/storjshare \
    -v /tmp/.X11-unix/X${displaynumber}:/tmp/.X11-unix/X0 \
    oreandawe/storjshare-gui-git:latest

or in the background:

shell$ displaynumber=$(echo $DISPLAY | sed -e 's/^://;s/\..*$//')
shell$ docker run -d --name sjs_gui \
    -v /path/to/storjshare:/storjshare \
    -v /tmp/.X11-unix/X${displaynumber}:/tmp/.X11-unix/X0 \
    oreandawe/storjshare-gui-git:latest

Then choose /storjshare as the data directory in the app.

Or run an interactive shell:

shell$ docker run --rm -ti --entrypoint /bin/bash oreandawe/storjshare-gui-git:latest

Or connect to an existing container:

shell$ docker exec -ti nameofyourcontainer /bin/bash
Docker Pull Command
Owner
oreandawe

Comments (0)