Public | Automated Build

Last pushed: a year ago
Short Description
The Storj Share GUI
Full Description

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

Labels

Labels match the version numbers from the Storjshare GUI app: https://github.com/Storj/storjshare-gui/releases.

  • latest: The bleeding edge.
  • 1.0.3: The exact version.
  • 1.0, 1: The most recent version with matching major (and minor) version number.

Build

This image is built whenever anything gets pushed to github. Pull the latest with:

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

Local Build

Alternatively, build the container locally:

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

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-dist: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-dist: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-dist:latest

Or connect to an existing container:

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