go-udev icon indicating copy to clipboard operation
go-udev copied to clipboard

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

Open yinggoga opened this issue 2 years ago • 3 comments

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 ?

yinggoga avatar Dec 17 '21 10:12 yinggoga

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

pilebones avatar Feb 07 '22 14:02 pilebones

@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 avatar Feb 17 '22 15:02 pilebones

@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.

pilebones avatar Mar 23 '22 23:03 pilebones