![]() ![]() Here: /path/to/nipype_tutorial is your local directory where you downloaded Nipype Tutorial repository. The -v flag tells docker which folders should be mount to make them accessible inside the container.The -p flag specifies which port we want to make available for docker.The -rm flag tells docker that the container should automatically be removed after we close docker.The -it flag tells docker that it should open an interactive container instance.However, if you want to use your version of notebooks, safe notebook outputs locally or use you local data, you can also mount your local directories, e.g.: docker run -it -rm -v /path/to/nipype_tutorial/:/home/neuro/nipype_tutorial -v /path/to/data/:/data -v /path/to/output/:/output -p 8888:8888 miykael/nipype_tutorial jupyter notebook The suggested Docker image, miykael/nipype_tutorial, already contains all tutorial notebooks and data used in the tutorial, so the simplest way to run container is: docker run -it -rm -p 8888:8888 miykael/nipype_tutorial jupyter notebook The exact implementation is a bit different for Windows user, but the general commands look similar. ![]() After installing docker on your system and making sure that the hello-world example was running, we are good to go to start the Nipype Tutorial image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |