docker 运行报错

2023-01-16  本文已影响0人  dc的梦呓

构建了jupyterhub的docker,要运行起来,但报以下错误:

nodejs run[28]: ../src/node_platform.cc:58:std::unique_ptr<long unsigned int> node::BackgroundTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
 1: 0x8db900 node::Abort() [nodejs run]
 2: 0x8db9d5  [nodejs run]
 3: 0x9644ea node::BackgroundTaskRunner::BackgroundTaskRunner(int) [nodejs run]
 4: 0x96459b node::NodePlatform::NodePlatform(int, node::tracing::TracingController*) [nodejs run]
 5: 0x8e422b node::Start(int, char**) [nodejs run]
 6: 0x7f5efb235830 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 7: 0x89ed85  [nodejs run]

查了下可能是资源问题,运行时加 --privileged 解决。

sudo docker run --privileged  ...
上一篇 下一篇

猜你喜欢

热点阅读