Notebooks icon indicating copy to clipboard operation
Notebooks copied to clipboard

mybinder fails to open container in web browser

Open gaelforget opened this issue 2 years ago • 1 comments

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 :

  • https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html
  • https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html

gaelforget avatar Jan 03 '23 18:01 gaelforget

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.

schrimpf avatar Jan 17 '23 22:01 schrimpf