Skip to content

Commit

Permalink
move content to top-level README
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Mar 26, 2024
1 parent a68a90c commit 1f714fa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
# SCANDAN
# SCANDAN

## Usage notes

### Running graphical applications via Docker

```console
XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
xauth nlist "$DISPLAY" | sed -e 's/^..../ffff/' | xauth -f "$XAUTH" nmerge -

docker run --rm -it \
-e USER="$USER" \
-e DISPLAY="$DISPLAY" \
-e XAUTHORITY="$XAUTH" \
-v $XSOCK:$XSOCK \
-v $XAUTH:$XAUTH \
<image-name>
```
15 changes: 0 additions & 15 deletions software/FSL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ Old site at https://fsl.fmrib.ox.ac.uk/fsl/fslwiki

A container with a relatively old version (5.0.7) can be build from `fsl5.Dockerfile`.

To run with the correct display options, use:

```console
XSOCK=/tmp/.X11-unix
XAUTH=/tmp/.docker.xauth
xauth nlist "$DISPLAY" | sed -e 's/^..../ffff/' | xauth -f "$XAUTH" nmerge -

docker run --rm -it \
-e USER="$USER" \
-e DISPLAY="$DISPLAY" \
-e XAUTHORITY="$XAUTH" \
-v $XSOCK:$XSOCK \
-v $XAUTH:$XAUTH \
<image-name>
```

### FSL Documentation

Expand Down

0 comments on commit 1f714fa

Please sign in to comment.