Skip to content

Instantly share code, notes, and snippets.

@JohnAtl
Created April 12, 2022 15:29
Show Gist options
  • Save JohnAtl/f7da2ddc91e83c66dd9c849031d15c61 to your computer and use it in GitHub Desktop.
Save JohnAtl/f7da2ddc91e83c66dd9c849031d15c61 to your computer and use it in GitHub Desktop.
Runs the nipype docker container, and maps local folders so that notebooks in nipype_tutorial are available, data in local ./data are available, and output is sent to local ./output.
#!/bin/bash
docker run -it --rm \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/:/home/neuro/nipype_tutorial \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/data/:/data \
-v /Volumes/Data/Courses/Tutorials/nipype_tutorial/output/:/output \
-p 8989:8888 \
miykael/nipype_tutorial \
jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment