You can run a container in privileged mode to allow access to all devices on the host.
Containers are run as "unprivileged" by default and are not allowed to access any devices.
-
Go to the VM instances page.
-
Click the Create instance button to create a new instance.
-
Under the Container section, check Deploy container image.
-
Click Advanced container options.
-
Check Run as privileged.