Privileged:true does not give access to usb devices and webcamera

Hi
I have a docker compose (3.7) file that uses privileged: true to give access to the web-camera. This works fine for docker-ce but after upgrading to docker desktop for linux it no longer works.
ls -ltrh /dev/video* returns “No such file or directory” inside the container. This is solved by removing docker desktop and reinstalling docker-ce on Ubuntu 22.04.

According to the docker desktop FAQ it says that USB devices are not supported. Is this true for Ubuntu as well?

1 Like