markdown Docker上的Jupyter笔记本

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Docker上的Jupyter笔记本相关的知识,希望对你有一定的参考价值。

Start Jupyter notebook on docker to developer with volume mounted

    $ mkdir $HOME/workspace/notebooks -p && \
      docker run -d -p 8888:8888 --restart unless-stopped --name jupyter -v $HOME/workspace/notebooks:/notebooks tensorflow/tensorflow:latest-gpu
      
To GET a token, not forgot to see jupyter logs.

    $ docker logs jupyter
    
Output

    [I 15:50:00.152 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
    [W 15:50:00.164 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
    [I 15:50:00.171 NotebookApp] Serving notebooks from local directory: /notebooks
    [I 15:50:00.171 NotebookApp] The Jupyter Notebook is running at:
    [I 15:50:00.171 NotebookApp] http://(6c025e77d456 or 127.0.0.1):8888/?token=afd9f1688c273dd6022473f264665f12537932ce20df9f57
    [I 15:50:00.171 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [C 15:50:00.171 NotebookApp] 
        
        Copy/paste this URL into your browser when you connect for the first time,
        to login with a token:
            http://(6c025e77d456 or 127.0.0.1):8888/?token=afd9f1688c273dd6022473f264665f12537932ce20df9f57
    [I 15:50:09.022 NotebookApp] 302 GET / (172.17.0.1) 0.94ms
    [I 15:50:09.034 NotebookApp] 302 GET /tree? (172.17.0.1) 1.20ms

以上是关于markdown Docker上的Jupyter笔记本的主要内容,如果未能解决你的问题,请参考以下文章

连接到远程服务器上的 docker 中运行的 jupyter notebook

markdown Docker上的Geth + JSON RPC

markdown Mac OS X上的Docker Machine

如何使用官方Tensorflow docker容器在主机目录中保存和编辑Jupyter笔记本?

markdown Jupyter有用的东西#jupyter

jupyter通过notedown使用markdown