neurodocker icon indicating copy to clipboard operation
neurodocker copied to clipboard

--fsl error

Open JonteP opened this issue 2 years ago • 4 comments

I am trying to build a docker container including FSL like so:

docker run --rm kaczmarj/neurodocker:0.9.1 generate docker --pkg-manager apt --base-image neurodebian:buster --fsl version=latest --miniconda version=latest conda_install="nipype notebook" --user nonroot > Dockerfile

and get this: FSL is non-free. If you are considering commercial use of FSL, please consult the relevant license(s). Proceed? [y/N]: Aborted!

The problem is I have no chance of answering 'y', it is automatically aborted. I tried piping echo y | to this command but it did not work. Anyone else encoutered this?

JonteP avatar Sep 18 '22 14:09 JonteP

try adding -i, so docker run -i --rm ...

satra avatar Sep 18 '22 15:09 satra

Thank you, satra! That was embarrasingly simple...

JonteP avatar Sep 18 '22 19:09 JonteP

It is maybe embarrassingly simple but I had the same question and was about to open the same issue! So thanks. And probably it would worth to do an update of the documentation:)

ysagon avatar Sep 19 '22 12:09 ysagon

would one of you be up for sending a PR ? there is a known issue with using the docker -t flag and it could be added there, but this seems more about general guidance than an issue. perhaps could be a note at the first point docker is mentioned. perhaps here: https://www.repronim.org/neurodocker/user_guide/installation.html#container-preferred

satra avatar Sep 19 '22 12:09 satra

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 24 '23 01:08 github-actions[bot]

I created this change in the documentation - can others check if the changes in the installation section and the example page for FSL are good?

stebo85 avatar Sep 05 '23 05:09 stebo85