Sign inSign up

arine/jmrui

By arine

•Updated almost 9 years ago

Docker image to use jMRUI on OS X

Image
0

10K+

arine/jmrui repository overview

⁠How to use this image

⁠Before running container

  1. Download XQuartz⁠
  • Open XQuartz
  • At the Preference(⌘ + ,) - Security, check "Allow connections from network clients."
  1. Download jMRUI⁠ on your computer.

⁠Running container and jMRUI

  1. Launch XQuartz
  2. Open Terminal and execute:
ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}')
xhost + ${ip}
  1. You can run a container by following command
docker run -it -e DISPLAY=${ip}:0 -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v absolute_path_to_jmrui:/jmrui \
    [-v absolute_path_to_data_1:/path_you_want_1 \]
    [-v absolute_path_to_data_2:/path_you_want_2 \]
    ...
    --rm \
    arine/jmrui

where absolute_path_to_jmrui is the directory path that contains jMRUI program is, and absolute_path_to_data to be the path that has the data you want to process with jMRUI. path_you_want to be the path where the data will be in the container. For example, if you downloaded jMRUI and unzip under /Users/a_user/Downloads/jmrui and the data you want to process is at /Users/kim/Documents/data/data.rda, you can run:

docker run -it -e DISPLAY=${ip}:0 -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v /Users/a_user/Downloads/jmrui:/jmrui \
    -v /Users/a_user/Documents/data:/data \
    --rm \
    arine/jmrui
  1. When container is launched, type ./jmrui.sh inside of the container. When you load data on jMRUI, they are under /path_you_want_1, /path_you_want_2, and so on. On the former example, the data is under /data.

⁠Support

If you have any question, please send email to [email protected]⁠

Tag summary

Content type

Image

Digest

Size

357.2 MB

Last updated

almost 9 years ago

docker pull arine/jmrui