You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66-74Lines changed: 66 additions & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,12 @@ _Neurodocker_ is a command-line program that generates custom Dockerfiles and Si
15
15
-[Example of minimizing Docker image for FreeSurfer recon-all](https://github.com/freesurfer/freesurfer/issues/70#issuecomment-316361886)
16
16
-[Known issues](#known-issues)
17
17
18
-
19
18
# Installation
20
19
21
20
Use the _Neurodocker_ Docker image (recommended):
22
21
23
22
```shell
24
-
$ docker run --rm kaczmarj/neurodocker:0.4.2 --help
23
+
$ docker run --rm kaczmarj/neurodocker:0.4.3 --help
25
24
```
26
25
27
26
_Note_: Do not use the `-t/--tty` flag with `docker run` or non-printable characters will be a part of the output (see [moby/moby#8513 (comment)](https://github.com/moby/moby/issues/8513#issuecomment-216191236)).
|**NeuroDebian**| os_codename*| Codename of the operating system (e.g., stretch, zesty). |
95
-
|| server*| Server to download NeuroDebian packages from. Choose the one closest to you. See `neurodocker generate docker --help` for the full list of servers. |
96
-
|| full | If true (default), use non-free sources. If false, use libre sources. |
|||_Note: Matlab Compiler Runtime is installed when SPM12 is installed._|
103
-
|**VNC**| passwd*| Choose a password for this VNC server. |
104
-
|| start_at_runtime | If true, start the VNC server at container runtime. False by default. |
105
-
|| geometry | The geometry of the VNC session (e.g., `1920x1080`). |
106
-
107
-
108
-
\* required argument.
109
-
** FSL is non-free. If you are considering commercial use of FSL, please consult the [relevant license](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence).
|**NeuroDebian**| os_codename\*| Codename of the operating system (e.g., stretch, zesty). |
93
+
|| server\*| Server to download NeuroDebian packages from. Choose the one closest to you. See `neurodocker generate docker --help` for the full list of servers. |
94
+
|| full | If true (default), use non-free sources. If false, use libre sources. |
|||_Note: Matlab Compiler Runtime is installed when SPM12 is installed._|
101
+
|**VNC**| passwd\*| Choose a password for this VNC server. |
102
+
|| start_at_runtime | If true, start the VNC server at container runtime. False by default. |
103
+
|| geometry | The geometry of the VNC session (e.g., `1920x1080`). |
104
+
105
+
\* required argument.
106
+
\*\* FSL is non-free. If you are considering commercial use of FSL, please consult the [relevant license](https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/Licence).
111
107
112
108
# Generate Dockerfile
113
109
@@ -235,15 +231,14 @@ The canonical examples install ANTs version 2.3.1 on Debian 9 (Stretch).
235
231
236
232
_Note_: Do not use the `-t/--tty` flag with `docker run` or non-printable characters will be a part of the output (see [moby/moby#8513 (comment)](https://github.com/moby/moby/issues/8513#issuecomment-216191236)).
237
233
238
-
239
234
### Docker
240
235
241
236
```shell
242
-
$ docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
237
+
$ docker run --rm kaczmarj/neurodocker:0.4.3 generate docker \
_Neurodocker_ must be `pip` installed for container minimization.
263
257
264
258
In the following example, a Docker image is built with ANTs version 2.3.1 and a functional scan. The image is minified for running `antsMotionCorr`. The original ANTs Docker image is 1.85 GB, and the "minified" image is 365 MB.
265
259
266
-
267
260
```shell
268
261
# Create a Docker image with ANTs, and download a functional scan.
$ reprounzip docker setup neurodocker-reprozip.rpz test
283
276
```
284
277
285
-
286
278
# Known issues
287
279
288
280
- Using the `-t/--tty` option in `docker run` produces non-printable characters in the generated Dockerfile or Singularity recipe (see [moby/moby#8513 (comment)](https://github.com/moby/moby/issues/8513#issuecomment-216191236)).
0 commit comments