miykael / workshops

Brain imaging workshops
http://nipy.org/workshops/
3 stars 4 forks source link

Singularity and WS image #14

Open bgagl opened 6 years ago

bgagl commented 6 years ago

Hi there, I just converted the 180528_frankfurt docker image in a singularity image.

Probem is now that when I run singularity run -it --rm -p 8888:8888 WS_SING.img the following error occures
ERROR: Unknown option: -it

any suggestions?

Best wishes, Benjamin

miykael commented 6 years ago

Hi @bgagl - I haven't used singularity yet so I cannot commen on how to run the frankfurt workshop content with it. But what I can tell you is that the t and i flag in docker mean:

-i, --interactive     Keep STDIN open even if not attached
-t, --tty             Allocate a pseudo-TTY

So, if you find the equivalent singularity flag, all should be fine. Good luck and please let me know if you get it to work.