Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker start error #26

Closed
f0ghua opened this issue Sep 7, 2023 · 3 comments
Closed

docker start error #26

f0ghua opened this issue Sep 7, 2023 · 3 comments

Comments

@f0ghua
Copy link

f0ghua commented Sep 7, 2023

I tried to run the docker on my vps, but it failed with the following error message

fog@webshark$ docker run -e SHARKD_SOCKET=/home/node/sharkd.sock -ti --rm -p 8085:8085 -v $(pwd)/captures:/captures ghcr.io/qxip/webshark:2.0.0
rm: cannot remove '/home/node/sharkd.sock': No such file or directory
node[1]: ../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: 0xc98550 node::Abort() [node]
 2: 0xc985ce  [node]
 3: 0xd169a9 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
 4: 0xd16acc node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
 5: 0xc53f13  [node]
 6: 0xc5487b node::Start(int, char**) [node]
 7: 0x7fb45d4f81ca  [/lib/x86_64-linux-gnu/libc.so.6]
 8: 0x7fb45d4f8285 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
 9: 0xbb004e _start [node]

fog@webshark$ uname -a
Linux calm-spin-1.localdomain 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

fog@webshark$ cat /etc/issue
Ubuntu 18.04 LTS \n \l

While on another local pc, it works

fog@captures$ uname -a
Linux fognb2 5.4.0-155-generic #172-Ubuntu SMP Fri Jul 7 16:10:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

fog@captures$ cat /etc/issue
Ubuntu 20.04.2 LTS \n \l

Any idea?

@f0ghua
Copy link
Author

f0ghua commented Sep 7, 2023

Ok, I fixed it by add the following line in docker-compose.yml, any better solution pls let me know.

privileged: true

@ekoyle
Copy link
Collaborator

ekoyle commented Sep 11, 2023

There is a newer version of the container (2.0.2), have you tried that? I strongly discourage the use of privileged mode.

@lmangani
Copy link
Member

Feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants