-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate singularity bind points from initial docker command? #67
Comments
This already works. We should quickly look at this together why it doesn't
work in your case :)
…On Wed, Nov 24, 2021, 8:30 AM Thom Shaw ***@***.***> wrote:
Trying to run a simg within neurodesktop but it seems the bind points from
my initial Docker call (for an external drive) in Windows to neurodesktop
don't propagate to singularity containers inside.
Would be a nice feature to add to a startup script (i.e., bind all
external drives in Docker call (if user wants)- propogate these bindpoints
to transparent singularity or wherever the code is now?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#67>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6V2WZICXC2IZ3PLRDRXRTUNQIZFANCNFSM5IUTTUAQ>
.
|
running
Then inside neurodesktop in the fMRIPrep container:
|
Dear Tom, can you try to mount the external drive to the mountpoint that we created for this use-case :/data ? PS C:\Users\thoma> docker run --shm-size=1gb -it --privileged --name neurodesktop -v C:/neurodesktop-storage:/neurodesktop-storage -v E:/STIMMRI_DATA/:/data -p 8080:8080 -h neurodesktop-20211028 vnmd/neurodesktop:20211028 The problem is that we need to create the mountpoints at buildtime, so we cannot easily add these at runtime. |
Ah yes that works... Does it cost us anything to automatically mount all drives and do this in an automatic way at startup? e.g., My external drives in E:/ and F:/ to /mnt/e and /mnt/f/ in neurodesktop? |
the problem is that the docker container doesn't know that E: and F: exists, so the startup script proposed in #64 needs to do this. It shouldn't be very difficult, but will need a bit of Powershell / bat magic by @thomshaw92 |
Dear @thomshaw92 - did you get a chance to look at this already? |
Trying to run a simg within neurodesktop but it seems the bind points from my initial Docker call (for an external drive) in Windows to neurodesktop don't propagate to singularity containers inside.
Would be a nice feature to add to a startup script (i.e., bind all external drives in Docker call (if user wants)- propogate these bindpoints to transparent singularity or wherever the code is now?)
The text was updated successfully, but these errors were encountered: