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

It does not work when running in docker without --net=host! #23

Open
yinggoga opened this issue Dec 17, 2021 · 3 comments
Open

It does not work when running in docker without --net=host! #23

yinggoga opened this issue Dec 17, 2021 · 3 comments

Comments

@yinggoga
Copy link

Hello!
When I try to run it in docker, it does not work!Then I add --net=host and rerun it is ok~

While the command "udevadm monitor" could run it in docker without --net=host!
Could go-udev support it ?

@pilebones
Copy link
Owner

I will take a look in few days, ty for this issue

@pilebones
Copy link
Owner

pilebones commented Feb 17, 2022

@yinggoga Could you provide the way your start your container please with --net=host ?

I tried "unsecurelly" with docker run -it --net=host -v=/dev:/dev -v /run/udev:/run/udev:ro --rm -v "$PWD:$PWD" -w $PWD debian ./go-udev -monitor but it not works event if I use --net=host.
Could you also provide the way you start udevadm monitor too ?

@pilebones
Copy link
Owner

@yinggoga could you take a look in #29 about monitor mode in docker context for give me the way you run container with --net=host please ?
After that I will take some time to fix it without this option. But I can't run monitor mode with success at this time.

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

2 participants