Skip to content

Commit

Permalink
FSL README.md - how to run it
Browse files Browse the repository at this point in the history
using --entrypoint to override the container entrypoint (which is just an interactive shell) that starts the X11 GUI
  • Loading branch information
howff authored May 28, 2024
1 parent 1ceb41d commit cba0032
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions software/FSL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ A container with a relatively old version (5.0.7) can be build from `fsl5.Docker

Version 6.0.7.9 can be run from https://github.com/smi/SCANDAN/pkgs/container/fsl

To run it:
```
XSOCK=/tmp/.X11-unix
XAUTH=${HOME}/.Xauthority
podman run --rm -it \
-e USER="$USER" \
-e DISPLAY="$DISPLAY" \
-e XAUTHORITY="$XAUTH" \
-v $XSOCK:$XSOCK \
-v $XAUTH:$XAUTH \
--entrypoint='["/bin/sh", "-c", ". /usr/local/fsl/etc/fslconf/fsl.sh && /usr/local/fsl/bin/fsl"]' \
ghcr.io/smi/fsl:latest
```

### FSL Documentation

The new FSL site provides [these](https://fsl.fmrib.ox.ac.uk/fsl/docs/#/install/container?id=install-fsl-into-a-dockersingularity-container) instructions. This has been translated into the main `Dockerfile` in this directory.
Expand Down

0 comments on commit cba0032

Please sign in to comment.