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

Support running docker container via singularity #30

Open
keiranmraine opened this issue Jun 7, 2019 · 3 comments
Open

Support running docker container via singularity #30

keiranmraine opened this issue Jun 7, 2019 · 3 comments

Comments

@keiranmraine
Copy link

I realise this would be a relatively large undertaking but having this work with singularity exec would be hugely useful.

@pkerpedjiev
Copy link
Member

Hey, thanks for the suggestion! There's actually been a bit of discussion about this on the higlass/higlass repo: higlass/higlass#161

Would be great to have but nobody on the core team has had much experience with Singularity. If you would like to try to implement it, it would be greatly appreciated and I would be happy to help you however I can.

@keiranmraine
Copy link
Author

This looks like it will require changes in the docker container too. It appears that the container is by default binding port 80. Under docker that is fine as the user can change the bind. Under singularity you don't have this ability, the default port needs to be non-admin... higlass/higlass-docker#154

(unlikely I would get time to look at this, I've been tasked with getting something up quickly to display Hi-C data matrices, Singularity would have been easier for our users to interface with on our core network, but I've had to do it on OpenStack so I can use the docker version)

@pkerpedjiev
Copy link
Member

I see. Thanks for looking into this and the extra information you provided! For what it's worth, the port that nginx listens to in the server is set here: https://github.com/higlass/higlass-docker/blob/60b9c408e71732bfa459847649036aa4228f8ef9/web-context/sites-enabled/hgserver_nginx.conf#L9

This just serves as a proxy for an uwsgi server running on port 8001.

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