Could not find executable browser in Docker container

When I try to run the ipython notebook command inside the docker container, the following error occurs: Web browser not found: the executable browser could not be found.

ps I am using jupyter / all-spark-notebook: 4.0 image

$ sudo docker run -it -p 8888:8888 jupyter/all-spark-notebook:4.0 ipython notebook

Writing notebook server cookie secret to /.local/share/jupyter/runtime/notebook_cookie_secret
Serving notebooks from local directory: /home/jovyan/work
0 active kernels 
The IPython Notebook is running at: http://localhost:8888/
Use Control-C to stop this server and shut down all kernels (twice to   skip confirmation).
No web browser found: could not locate runnable browser.
+4
source share
1 answer

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.

+1
source

Source: https://habr.com/ru/post/1610653/


All Articles