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
ros2 daemon hangs on arch with docker #1531
Comments
I can confirm that it works on my debianish machine with docker I see that docker 25 is much newer, and potentially there's changes in docker's default behavior or how Arch's networking is setup. Arch isn't a standard development platform so we're going to need to rely on more info and debugging from you or other Arch users. |
Can confirm,
|
|
Temporary fix; call,
in the container before running ros2 cli stuff. |
Reminds me of Odd Docker roscore/roslaunch delays with Linux kernel 6.1 on ROS Answers. |
Yep, very good point. That also leads to https://stackoverflow.com/questions/899038/getting-the-highest-allocated-file-descriptor/918469#918469 and https://github.com/ruby/ruby/blob/v3_0_2/io.c#L6557-L6597 , which are interesting. We could change this to try a (Linux-specific) hint, like that Ruby code (but obviously in Python). Basically see if we can get the FDSize from @akssri-sony If you'd like to give that a shot, I'd be happy to review it. |
Thanks for the pointers @clalancette ! I've created a PR here, |
Bug report
Required Info:
Steps to reproduce issue
Just run
Expected behavior
Output something like
Actual behavior
Gets stuck
Additional information
I tried the same thing on Ubuntu and there it works.
Adding
--no-daemon
makes it work on archOn arch I have
docker 1:25.0.3-1
The text was updated successfully, but these errors were encountered: