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

Figure out how to handle custom docker/singularity images #83

Closed
nmerket opened this issue Jul 25, 2019 · 5 comments
Closed

Figure out how to handle custom docker/singularity images #83

nmerket opened this issue Jul 25, 2019 · 5 comments
Assignees

Comments

@nmerket
Copy link
Member

nmerket commented Jul 25, 2019

For some analyses (ComStock, I'm looking at you) we'll need to use a different image from the standard nrel/openstudio docker and singularity images. We should figure out a nice way to handle that.

@bonnema
Copy link
Contributor

bonnema commented Jul 25, 2019

@nmerket
Copy link
Member Author

nmerket commented Jul 25, 2019

@bonnema I don't have access to that repo.

@bonnema
Copy link
Contributor

bonnema commented Jul 25, 2019

I think @rHorsey has to give you access. Ry and I are still working out some kinks...

@rHorsey
Copy link
Contributor

rHorsey commented Jul 25, 2019

@nmerket This'll be resolved through the process of merging #65 for eagle. Let's chat more about AWS when that's closer, and I'll think about local docker once we've made sure https://github.com/NREL/buildstockbatch/tree/rHorsey/enable-com is working on eagle.

@asparke2
Copy link
Member

@nmerket for the singularity images on Eagle this hasn't been an issue.

Here's what we've been doing in the yml:

os_version: covid19v3
os_sha: 3472e8b799
sys_image_dir: /lustre/eaglefs/shared-projects/buildstock/singularity_images

and here's the singularity image name on shared-projects/buildstock/singularity_image:

OpenStudio-covid19v3.3472e8b799-Singularity.simg

Not sure how you'd want to handle AWS though... One option could be to use Amazon ECR to host a docker registry w/ our custom images, but that seems destined to be a lot of work to teach/maintain. Another option could be to pick a shared place on S3 and just upload the docker image files to there like we do for Eagle. If we used the same naming convention as for singularity images, then I think it would be something like allowing sys_image_dir to accept S3 paths.

@nmerket nmerket closed this as completed Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

4 participants