docker run -it -p 8888:8888 -p 6006:6006 floydhub/dl-docker:cpu jupyter notebook
执行这条命令之后,打开 127.0.0.1:8888 然后随便打开一个 notebook,kernel 选 python2,然后一直 restart..
报错是:
[I 06:59:41.148 NotebookApp] Adapting to protocol v4.0 for kernel 2b9e6146-e713-48b3-83eb-22132e186f58
Shutting down iTorch
[I 07:00:20.604 NotebookApp] Kernel shutdown: 2b9e6146-e713-48b3-83eb-22132e186f58
[I 07:00:20.624 NotebookApp] Kernel started: 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3
[I 07:00:23.625 NotebookApp] KernelRestarter: restarting kernel (1/5)
[I 07:00:26.635 NotebookApp] KernelRestarter: restarting kernel (2/5)
[I 07:00:29.648 NotebookApp] KernelRestarter: restarting kernel (3/5)
[W 07:00:30.668 NotebookApp] Timeout waiting for kernel_info reply from 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3
[I 07:00:32.659 NotebookApp] KernelRestarter: restarting kernel (4/5)
WARNING:root:kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 restarted
[W 07:00:35.673 NotebookApp] KernelRestarter: restart failed
[W 07:00:35.674 NotebookApp] Kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 died, removing from map.
ERROR:root:kernel 910124dd-6bfa-4c5a-a35a-621ac4cbb2e3 restarted failed!
1
Hzzone OP 救命啊...
|
2
Hzzone OP 这个问题已经解决了...
参考链接[/dl-docker/issues/]( https://github.com/floydhub/dl-docker/issues/15) 只需要执行 ``` docker run -it -p 8888:8888 -p 6006:6006 dl-docker:cpu sh -c 'jupyter notebook --ip=0.0.0.0 --no-browser' ``` [docker 镜像链接]( https://store.docker.com/community/images/floydhub/dl-docker) |
3
Hzzone OP sorry...对 V2EX 的评论不是很了解...不支持 md
|