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

Brainstorming: CodeSpaces Instructions #39

Closed
hamelsmu opened this issue Jul 23, 2020 · 6 comments
Closed

Brainstorming: CodeSpaces Instructions #39

hamelsmu opened this issue Jul 23, 2020 · 6 comments

Comments

@hamelsmu
Copy link
Collaborator

hamelsmu commented Jul 23, 2020

CodeSpaces is currently in Beta. However, it will be released soon (I don't know exactly when). Repo2Docker and this Action will be extremely useful for that to facilitate the launching of Jupyter Notebooks in that environment.

Note: Codespaces allows you to launch arbitrary apps like Jupyter Notebooks on a different port and connect to that port

It will look something like this https://www.youtube.com/watch?v=Hpt1Xs96C74&feature=youtu.be

P.S. the CodeSpaces config looks like this https://github.com/jupyterhub/repo2docker-action/blob/master/.devcontainer/devcontainer.json

cc: @betatim @choldgraf

@choldgraf
Copy link
Member

thanks for putting this on the radar - how does codespaces differ from something like Binder? Does it only allow for vscode, or other interfaces as well?

@hamelsmu
Copy link
Collaborator Author

hamelsmu commented Jul 23, 2020

Good question Codespaces allows for any arbitrary Dockerized web application to run on any port in addition to VSCode. My preferred way of using it for example will be serve Jupyter Lab on it 🎉

I think Binder has more generous compute at the moment than the free version of CodeSpaces but that might change

@choldgraf
Copy link
Member

A general thought here - I think that we should find ways to show how repo2docker can plug in to other ecosystems, be used in workflows out of Binder etc. To that extent I think it'd be great to see information about how to integrate with codespaces!

That said, I think we should also show some caution, because codespaces falls more into the category of "vendor products" and we generally don't want to show preference for one vs the other (e.g. codespaces / gitpod / colab / cocalc / codeocean / etc). That said, it's pretty neat that codespaces works with open standards like repo2docker, so it's definitely worth highlighting and recognizing - I'm not quite sure how to walk that line! 🤔🤔🤔

@hamelsmu
Copy link
Collaborator Author

That's an interesting point! I was also contemplating using repo2docker to launch notebook VMs on the cloud of your choice, which can be useful for compute like GPUs or other heavy workloads where mybinder.org may not be appropriate? The challenge is that infrastructure isn't free so it also starts to skate in this vendor zone of integrating with the cloud providers (AWS, GCP, Azure).

That being said, I think as practical matter folks may find it interesting for example, some interest from @hugobowne to use while doing Dask training at conferences.

I opened a thread on discourse to solicit more thoughts and opinions

@choldgraf
Copy link
Member

choldgraf commented Jul 23, 2020

oh I think the general use-case of "repo2docker connected with XXX" is an awesome one to highlight. And agreed re: quickly spin up a docker container in the cloud that is powered by an environment you create with repo2docker, that'd be really cool (we've also nibbled around a similar idea that uses the littlest jupyterhub so you can create a quick hub w/ an environment that was defined with repo2docker files)

I think that in the medium-term, I'll feel more comfortable with highlighting repo2docker in a particular vendor's ecosystem if we can also put it alongside repo2docker's use across a lot of other ecosystems (some vendor, some not) as well

@hamelsmu
Copy link
Collaborator Author

I'll close this issue thanks it was helpful to gather ideas etc from this

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