Comments (6)
I think jupyterlab works out of the box with the default binder images, but looks like we need to update this binder image to include lab. Currently only includes jupyterhub (via ?urlpath=tree
) and rstudio (urlpath=rstudio
).
@yuvipanda or @choldgraf can probably tell me what I need to update in this Dockerfile to pull in Juypter Lab, and can point you to the Dockerfile sources for the 'vanilla' binder. (This repo adds binder on top of the rocker stack, which is convenient for R / rocker users but inverted from the traditional binder stack).
from binder.
hey @vnijs - I'd recommend checking out the Binder documentation at "docs.mybinder.org" or browsing through the example repositories in binder-examples
as you mentioned in your comment. Binder treats Dockerfiles as an "advanced" use case and generally discourages them unless they really need to be used. If you have questions about this, come say hello in the gitter channel: https://gitter.im/jupyterhub/binder
from binder.
@cboettig Thanks for the clarification
@choldgraf I'm pretty much tied to docker and looking for the easiest (secure) approach for remote access to the services running in the container. It seems jupyterhub / binder should fit the bill. I'll look at the documentation again and post any questions to the gitter channel. Thanks
from binder.
@vnijs Just a side note here, but if what you're after is mostly the SSL bit, I particularly like using Caddy server for this. You can get Caddy as a separate docker image and deploy it next to RStudio, Jupyter, or any other service pretty easily with the standard docker-compose strategy. Here's my typical Caddy + RStudio + SSL setup: https://github.com/boettiger-lab/servers/tree/master/rstudio (see the docker-compose.yml
). (Caddy is basically a super-user-friendly version of nginx, which will automatically register and renew SSL certs for your domain via LetsEncrypt: https://caddyserver.com)
Binder really takes the opposite approach, as Chris described, of hiding/shielding you from any of the Docker stuff so everything just works like magic. And it is pretty magical. But if you just want SSL certs for containerized services on a server somewhere, I think something simpler like Caddy would be easiest. HTH!
from binder.
FWIW, JupyterHub (which BinderHub uses under the hood) has a lot of customizable security features. It's a but unclear to me how to expose these features to users for their individual environments in Binder, I agree w @cboettig that you'd probably need to roll your own setup in that case (e.g. deploying your own BinderHub and customizing as you like instead of using mybinder.org
, or just using a different containerized deployment approach).
(also, note that mybinder.org
does use HTTPS everywhere...so your first point-of-contact with the JupyterHub uses HTTPS as well)
from binder.
@cboettig and @choldgraf: Thanks for the suggestions! I will look into these options in more detail asap.
from binder.
Related Issues (20)
- shiny support via binder. HOT 4
- What other features are missing still? HOT 12
- More elegant solutions to copying repo to container/image...? HOT 3
- Safari browser cannot open Terminal session in RStudio Server HOT 2
- support servr HOT 1
- Base image: moving rocker/binder higher in the stack? HOT 4
- error with DIY deploy from new binder docs HOT 4
- R 3.4.3 not working HOT 1
- why based on geospatial? HOT 7
- images built on `rocker/binder` can't run RStudio on mybinder.org HOT 14
- 404 not found error with jupyterlab HOT 1
- caret and rsample packages HOT 3
- bug with R 4.0.0 and 4.0.2 containers HOT 10
- Use of rstudio and joyvan home directories HOT 7
- Site not launching? HOT 2
- 500: Internal Server Error HOT 2
- Run locally on docker failing HOT 1
- rstan or cmdstanr packages don't work HOT 3
- Question: Can we get a `rocker/binder:unstable` image?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binder.