Jupyter和aarch64

时间:2017-08-16 19:48:48

标签: python docker arm jupyter arm64

我有什么:NanoPi Neo2(Allwinner A5(arm v8 x64)处理器,512mb ram) 我做了什么:

  1. apt-get install docker*
  2. docker pull konmeo/jupyter(得到here
  3. docker run -it --rm -p 8888:8888 4fdcd3a6ff59 它说[C 19:38:32.851 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.
  4. 我跑了docker run -it --rm -p 8888:8888 4fdcd3a6ff59 /usr/bin/jupyter notebook --allow-root,Docker中的所有内容都没问题

    [W 19:40:36.237 NotebookApp] server_extensions is deprecated, use nbserver_extensions
    [I 19:40:36.287 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
    [I 19:40:39.827 NotebookApp] hide_code: Attempting to load hid_code export handler extensions.
    [I 19:40:39.839 NotebookApp] hide_code: Hide_code export handler extensions loaded.
    [I 19:40:39.972 NotebookApp] Loading IPython parallel extension
    [I 19:40:40.238 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.2.4
    [I 19:40:40.242 NotebookApp] Serving notebooks from local directory: /notebooks
    [I 19:40:40.243 NotebookApp] 0 active kernels 
    [I 19:40:40.244 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/?token=89a3809bd589557e08e31d7fbd475e6e17bb333fe2311745
    [I 19:40:40.245 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [W 19:40:40.248 NotebookApp] No web browser found: could not locate runnable browser.
    [C 19:40:40.250 NotebookApp] 
    
         Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
            http://localhost:8888/?token=89a3809bd589557e08e31d7fbd475e6e17bb333fe2311745
    

    但我无权使用本地设备上的浏览器,也无法使用http:// ip:8888 /在本地网络中

  5. 我应该怎么做才能让它发挥作用?

1 个答案:

答案 0 :(得分:0)

尝试将docker绑定到所有接口。

-p 0.0.0.0:8888:8888