Now this is an old thread, but if someone is looking for a solution, this is the command I ran.
sudo docker run -it -p 8888:8888 jupyter/all-spark-notebook:4.0 ipython notebook --port=8888 --ip=0.0.0.0
after which you will use the docker IP address (windows- 192.168.99.100:8888
, * nix- "whatever the the ip of your server":8888
) instead of localhost.
source
share