JuliaClimate / Notebooks

JuliaClimate Notebooks
https://JuliaClimate.github.io/Notebooks/
MIT License
96 stars 18 forks source link

mybinder fails to open container in web browser #98

Open gaelforget opened 1 year ago

gaelforget commented 1 year ago

Docker image seems to work fine when built in standard fashion per

docker run -p 8888:8888 gaelforget/notebooks:latest

but mybinder.org instance gets stuck at

Screenshot 2023-01-03 at 1 03 52 PM

Not sure why but here are a couple links that may be helpful :

schrimpf commented 1 year ago

I've been having similar problems with https://github.com/UBCECON567/juliabinder

I suspect the issue is https://github.com/binder-examples/minimal-dockerfile/issues/8 . Based on https://github.com/matthewfeickert/failing-repo2docker-with-dockerfile, a possible fix is to use restrict jupyter-server < 2.0. I'm trying this now.

Update: downgrading to jupyter-server < 2.0 appears to fix the problem. See https://github.com/UBCECON567/juliabinder/blob/main/Dockerfile for an example.