Closed neuropil closed 7 years ago
Are you using:
docker run --rm -ti -v $PATH_ON_HOST:/root/data \
--entrypoint /bin/bash bids/mindboggle;
To run mindboggle?
I am. But now I'm getting a different error.
At line:2 char:24
Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to
delimit the name.
At line:3 char:7
Unexpected token 'entrypoint' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : InvalidVariableReferenceWithDrive
Is this powershell? Try doing it in a single line and without variables (replace $PATH_ON_HOST with its value).
On Mon, Mar 20, 2017 at 4:08 PM, John notifications@github.com wrote:
I am. But now I'm getting a different error.
At line:2 char:24
- docker run --rm -ti -v $PATH_ON_HOST:/root/data \
~~~~~~~~~~~~~~
Variable reference is not valid. ':' was not followed by a valid variable name character. Consider using ${} to delimit the name. At line:3 char:7
-
--entrypoint /bin/bash bids/mindboggle;
-
~
Missing expression after unary operator '--'. At line:3 char:7
-
--entrypoint /bin/bash bids/mindboggle;
-
~~~~~~~~~~
Unexpected token 'entrypoint' in expression or statement.
- CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
- FullyQualifiedErrorId : InvalidVariableReferenceWithDrive
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nipy/mindboggle/issues/96#issuecomment-287926268, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkp-vLhlB-UwfHyfTGwMANRu2RLS0Xks5rnwblgaJpZM4MMgwp .
Hello Chrisfilo,
Thank you for your help! I am using powershell. Should I use something else?
When I run the entire line (see below), I still get a 'variable' error. Which variables should I leave out? Also, do I need to run the lines '--entrypoint /bin/bash bids/mindboggle'? What is this referring to?
docker run --rm -ti -v $C:\Users\John :\root\data --entrypoint /bin/bash bids/mindboggle
Ty this instead
docker run --rm -ti -v C:\Users\John:\root\data --entrypoint /bin/bash bids/mindboggle
@neuropil -- Did @chrisfilo help to resolve this issue for you?
Have you had any success running Mindboggle on your Windows system yet? I have created a new Docker container that will run FreeSurfer, ANTs, and a revised Mindboggle. Please see the new docker pull and run instructions (http://mindboggle.readthedocs.io/en/latest/#installing-mindboggle).
@neuropil -- I have created a new Docker container that can be used to execute (FreeSurfer, ANTs, and) Mindboggle from the command line, without having to enter the bash shell inside the container. It now takes a single command to install and a single command to run (see http://mindboggle.readthedocs.io/en/latest/#installation). Please tell me if this resolves your issue.
@binarybottle Thank you for updating the container and documentation. This issue can be closed, as it does not pertain to Mindboggle, but my lack of understanding on how to use Docker.
Following the instructions at http://mindboggle.readthedocs.io/en/latest/, I get the following error in Windows 10
Create missing output directory /home/jovyan/work/mindboggle123_output
Create missing working directory /home/jovyan/work/mindboggle123_output/working
Traceback (most recent call last):
File "/opt/conda/bin/mindboggle123", line 147, in
The above problem is referenced in it's own issue and can be followed here.
I am using an installation of mindboggle on Windows 10.
No matter how I set my PATHS in Docker, I am unable to run MindBoggle on the example data.
I have attempted to run mindboggle by directly indicating the location of the example data: :~# mindboggle C:\Users\DrJTHome\mindboggle_input_example\freesurfer\subjects\arno
I get the same error: ‘Please provide correct path to DATA’
Any help would be greatly appreciated.