@@ -10,7 +10,8 @@ update an existing environment, as necessary.
10
10
Development in Docker is encouraged, for the sake of consistency and
11
11
portability.
12
12
By default, work should be built off of `poldracklab/fmriprep:unstable
13
- <https://hub.docker.com/r/poldracklab/fmriprep/> `_ (see the
13
+ <https://hub.docker.com/r/poldracklab/fmriprep/> `_, which tracks the ``master `` branch,
14
+ or ``poldracklab/fmriprep:latest ``, which tracks the latest release version (see the
14
15
installation _ guide for the basic procedure for running).
15
16
16
17
It will be assumed the developer has a working repository in
@@ -140,15 +141,15 @@ development environment, we have an experimental setup with `code-server
140
141
We have `a video walking through the process
141
142
<https://youtu.be/bkZ-NyUaTvg> `_ if you want a visual guide.
142
143
143
- 1. build the docker image
144
+ 1. Build the Docker image
144
145
~~~~~~~~~~~~~~~~~~~~~~~~~
145
146
We will use the ``Dockerfile_devel `` file to build
146
147
our development docker image::
147
148
148
149
$ cd $HOME/projects/fmriprep
149
150
$ docker build -t fmriprep_devel -f Dockerfile_devel .
150
151
151
- 2. run the docker image
152
+ 2. Run the Docker image
152
153
~~~~~~~~~~~~~~~~~~~~~~~
153
154
We can start a docker container using the image we built (``fmriprep_devel ``)::
154
155
@@ -162,8 +163,8 @@ We can start a docker container using the image we built (``fmriprep_devel``)::
162
163
If you are using Docker-Toolbox, you will need to change your virtualbox settings
163
164
using `these steps as a guide
164
165
<https://github.com/jdkent/tutDockerRstudio#additional-setup-for-docker-toolbox> `_.
165
- For step ``6 ``, instead of ``Name = rstudio; Host Port = 8787; Guest Port = 8787 ``,
166
- have ``Name = code-server; Host Port = 8443; Guest Port = 8080 ``.
166
+ ( For step ``6 ``, instead of ``Name = rstudio; Host Port = 8787; Guest Port = 8787 ``,
167
+ have ``Name = code-server; Host Port = 8443; Guest Port = 8080 ``.)
167
168
Then in the docker command above, change ``127.0.0.1:8445:8080 ``
168
169
to ``192.168.99.100:8445:8080 ``.
169
170
@@ -176,10 +177,10 @@ If the container started correctly, you should see the following on your console
176
177
Now you can switch to your favorite browser and go to: ``127.0.0.1:8445 ``
177
178
(or ``192.168.99.100:8445 `` for Docker Toolbox).
178
179
179
- 3. copy fmriprep.egg-info into your fmriprep directory
180
+ 3. Copy fmriprep.egg-info into your fmriprep directory
180
181
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
181
- ``fmriprep.egg-info `` contains the necessary information for the fmriprep package for it
182
- to be run inside the docker container. Open a terminal in vscode and type the following::
182
+ ``fmriprep.egg-info `` makes the fmriprep package exacutable inside the docker container.
183
+ Open a terminal in vscode and type the following::
183
184
184
185
$ cp -R /src/fmriprep.egg-info /src/fmriprep/
185
186
0 commit comments