dask-docker icon indicating copy to clipboard operation
dask-docker copied to clipboard

Expose Jupyter Notebook IP address to `0.0.0.0`?

Open isVoid opened this issue 3 years ago • 3 comments

Hi, I need to setup the cluster in a remote server and access it from a local machine. Currently the notebook IP address is set to the loopback address and prevents external user from accessing. How to expose it for remote accessing?

isVoid avatar Aug 10 '22 01:08 isVoid

I think you need to set jupyter.args to --ip 0.0.0.0.

Which docker images are you using? The defaults or are you testing with RAPIDS?

jacobtomlinson avatar Aug 10 '22 12:08 jacobtomlinson

I was using the default images.

isVoid avatar Aug 10 '22 16:08 isVoid

Ok cool, I'm going to transfer this to the Dask Docker repo then as it seems to be a problem with the image rather than the helm chart.

If you think other folks might run into this we may want to explicitly bind to 0.0.0.0 in the Dask Notebook image.

https://github.com/dask/dask-docker/blob/5781111f2c1ebf295207646f72ed414ff217b00f/notebook/prepare.sh#L38

In the RAPIDS images we set a bunch of sensible options, maybe we should do the same for Dask.

@isVoid do you have any interest in opening a PR?

jacobtomlinson avatar Aug 11 '22 10:08 jacobtomlinson