无法在 Docker 容器中找到可运行的浏览器
Unable to locate runnable browser in Docker container
在 docker 容器内尝试 运行 ipython notebook 命令时,发生以下错误:
未找到 Web 浏览器:找不到 运行可用的浏览器。
p.s。我正在使用 jupyter/all-spark-notebook:4.0 图片
$ 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.
现在这是一个旧线程,但如果其他人正在寻找解决方案 - 这是我 运行.
的命令
sudo docker run -it -p 8888:8888 jupyter/all-spark-notebook:4.0 ipython notebook --port=8888 --ip=0.0.0.0
之后,您将转到 docker 的 IP 地址(windows- 192.168.99.100:8888
,*nix- "whatever the the ip of your server":8888
)而不是本地主机。
在 docker 容器内尝试 运行 ipython notebook 命令时,发生以下错误: 未找到 Web 浏览器:找不到 运行可用的浏览器。
p.s。我正在使用 jupyter/all-spark-notebook:4.0 图片
$ 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.
现在这是一个旧线程,但如果其他人正在寻找解决方案 - 这是我 运行.
的命令sudo docker run -it -p 8888:8888 jupyter/all-spark-notebook:4.0 ipython notebook --port=8888 --ip=0.0.0.0
之后,您将转到 docker 的 IP 地址(windows- 192.168.99.100:8888
,*nix- "whatever the the ip of your server":8888
)而不是本地主机。