docker 运行 jupyterhub 容器报错,自动退出。报错以下信息:
[I 2023-12-26 02:01:09.995 JupyterHub proxy:750] Starting proxy @ http://0.0.0.0:8000/
node[8]: ../src/node_platform.cc:68:std::unique_ptr<long unsigned int> node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xc9e850 node::Abort() [node]
2: 0xc9e8ce [node]
3: 0xd1c4b9 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
4: 0xd1c5dc node::NodePlatform::NodePlatform(int, v8::TracingController, v8::PageAllocator) [node]
5: 0xc57ae3 [node]
6: 0xc58474 node::Start(int, char**) [node]
7: 0x7fc3b04b5d90 [/lib/x86_64-linux-gnu/libc.so.6]
8: 0x7fc3b04b5e40 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
9: 0xbb2afe _start [node]
[C 2023-12-26 02:01:11.017 JupyterHub app:3139] Failed to start proxy
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/jupyterhub/app.py", line 3137, in start
await self.proxy.start()
File "/usr/local/lib/python3.10/dist-packages/jupyterhub/proxy.py", line 778, in start
_check_process()
File "/usr/local/lib/python3.10/dist-packages/jupyterhub/proxy.py", line 774, in _check_process
raise e from None
RuntimeError: Proxy failed to start with exit code -6
解决方法
删除报错的容器,重新运行,加参数:--privileged
如:
docker run --privileged ......
网友评论