@@ -155,24 +155,34 @@ We can start a docker container using the image we built (``fmriprep_devel``)::
155
155
$ docker run -it -p 127.0.0.1:8445:8080 -v ${PWD}:/src/fmriprep fmriprep_devel:latest
156
156
157
157
.. Note ::
158
- ` code-server is not currently working with docker toolbox
159
- <https://github.com/cdr/code-server/issues/903> `_ .
158
+ If you are using windows shell, ${PWD} may not be defined, instead use the absolute
159
+ path to your fmriprep directory .
160
160
161
- |ss | If you are using Docker-Toolbox, you will need to change your virtualbox settings
161
+ .. Note ::
162
+ If you are using Docker-Toolbox, you will need to change your virtualbox settings
162
163
using `these steps as a guide
163
164
<https://github.com/jdkent/tutDockerRstudio#additional-setup-for-docker-toolbox> `_.
164
165
For step ``6 ``, instead of ``Name = rstudio; Host Port = 8787; Guest Port = 8787 ``,
165
166
have ``Name = code-server; Host Port = 8443; Guest Port = 8080 ``.
166
167
Then in the docker command above, change ``127.0.0.1:8445:8080 ``
167
- to ``192.168.99.100:8445:8080 ``. | se |
168
+ to ``192.168.99.100:8445:8080 ``.
168
169
169
170
If the container started correctly, you should see the following on your console::
170
171
171
172
INFO Server listening on http://localhost:8080
172
173
INFO - No authentication
173
174
INFO - Not serving HTTPS
174
175
175
- Now you can switch to your favorite browser and go to: ``127.0.0.1:8445 ``.
176
+ Now you can switch to your favorite browser and go to: ``127.0.0.1:8445 ``
177
+ (or ``192.168.99.100:8445 `` for Docker Toolbox).
178
+
179
+ 3. copy fmriprep.egg-info into your fmriprep directory
180
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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::
183
+
184
+ $ cp -R /src/fmriprep.egg-info /src/fmriprep/
185
+
176
186
177
187
Code-Server Development Environment Features
178
188
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -221,12 +231,4 @@ An example of how this works is shown here: ::
221
231
(transformation matrices, and six corresponding rotation and translation
222
232
parameters) are estimated before any spatiotemporal filtering using
223
233
`mcflirt` [FSL {fsl_ver}, @mcflirt].
224
- """.format(fsl_ver=fsl.Info().version() or '<ver>')
225
-
226
- .. |ss | raw :: html
227
-
228
- <strike>
229
-
230
- .. |se | raw :: html
231
-
232
- </strike>
234
+ """.format(fsl_ver=fsl.Info().version() or '<ver>')
0 commit comments