Jump to content

Map Webcam into Docker / Docker looses device


Recommended Posts

Hi everyone
I have installed the DVB-Driver-Package for getting Webcam/Video support. I can access the devices over the static link (created by v4l)

/dev/v4l/by-id/usb-somenameandid-video-index0

but unfortunately, Docker looses the connection to this devices every few hours.

Then I have to execute '''sudo udevadm control --reload-rules && sudo udevadm trigger''' and restart the container.

So it runs for a few hours until have to do it again.

The webcams are connected over usb hubs (2 cams on 2 hubs into 4 containers)

 

Any hints what I could do to prevent this behavior?

 

Thanks!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...