Closed switt4 closed 8 months ago
Dear @switt4,
It seems you are potentially missing the output redirection operator >
:
This might work:
docker run repronim/neurodocker generate docker \
--pkg-manager apt \
--base-image debian:bullseye-slim \
--freesurfer version=7.2.0 \
> Dockerfile
Also, it looks like you are trying to build this on an ARM processor (e.g. Apple silicon). This might work, but it could be quite slow to build. Make sure to activate Rosetta 2 support in Docker to speed up the build.
Further, if you just want FreeSurfer 7.2.0 in an image, it might be quicker to use already built and tested www.Neurodesk.org images:
I hope this helps Kind regards Steffen
@switt4 I will assume this solved your issue but reopen if that was not the case. 😉
Hi,
I am getting an error when I try to run the below command to generate a docker container and have the output written to a Dockerfile. neurodocker seems to be interpreting the output filename as an additional option to the previous line. I'm not sure why this isn't working, as it follows exactly the freesurfer example in the documentation. There doesn't appear to be an option in the neurodocker generate command to specify an output filename, so I don't know if I am missing something?
Thanks! Suzanne