Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build an nipype docker image based on neurodocker
# Note that this repo includes a Singularity file too
git clone
cd nipype_tutorial
chmod +x
docker build --tag jjnipype .
git clone
cd neurodocker
python3 -m pip install --no-cache-dir --editable '.[all]'
# In the event of importlib_metadata errors:
# python3 -m pip uninstall importlib_metadata
# python3 -m pip install importlib_metadata
# then try installing again
# Paths are specific to my system, but should be a
# good example.
source /usr/local/Caskroom/miniconda/base/etc/profile.d/
conda activate nipype
docker run -it --rm \
-v /Volumes/Data/Research/fmri/fmri_rs/code/:/home/neuro/nipype_tutorial \
-v /Volumes/Data/Research/fmri/fmri_rs/:/data \
-v /Volumes/Data/Research/fmri/fmri_rs/derivatives/output/:/output \
-p 8888:8888 \
jjnipype \
jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment