Skip to content

Instantly share code, notes, and snippets.

@mattions
Last active May 4, 2018 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattions/71736d04ade6bafb9644bdd244764d1a to your computer and use it in GitHub Desktop.
Save mattions/71736d04ade6bafb9644bdd244764d1a to your computer and use it in GitHub Desktop.
SBG FS and ST Viewer helper scripts
# Launch the docker container of the latest st_viewer
# Note: We are using the $SBG_SBFS_MOUNT_POINT variable
# You can replace that with the actual path if you do not
# want to use the env variable. Check the `sbfs-privileges.sh`
# file for details.
#
# The mounted projects will be found at `/STDatasets` mount point
# within the docker container
xhost +local:root
docker run -d -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v $SBG_SBFS_MOUNT_POINT:/STDatasets mattions/st_viewer:0.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment