Skip to content
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

Container QoL #129

Open
jordandekraker opened this issue Nov 24, 2020 · 2 comments
Open

Container QoL #129

jordandekraker opened this issue Nov 24, 2020 · 2 comments

Comments

@jordandekraker
Copy link

jordandekraker commented Nov 24, 2020

Just a minor suggestion to improve quality of living when using singularity or docker:

Currently pulling the container docker://nistmni/minc-toolkit:1.9.16 works great, except all programs must be run with /opt/min/1.9.16/bin/. For example singularity exec minc-toolkit_1.9.16.sif /opt/min/1.9.16/bin/nii2mnc correctly returns the usage for this executable.

Simply adding the following line to the Dockerfile and rebuilding the container would make this much easier to use: ENV PATH /opt/min/1.9.16/bin:$PATH. The above command would now be singularity exec minc-toolkit_1.9.16.sif nii2mnc

Thanks!

@vfonov
Copy link
Member

vfonov commented Nov 24, 2020

@jordandekraker
Copy link
Author

Looks like that would do it! I guess I just needed to pull the latest image.

Perhaps that could be updated in the documentation? e.g. docker pull nistmni/minc-toolkit:1.9.16 could be changed to docker pull nistmni/minc-toolkit:latest assuming that this would only be stable releases.

Thanks for the speedy response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants