You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The device /dev/net/tun can be pass through using the option --vpn but not using the --device directly using Docker Desktop on MacOS.
Description
We can add filter to allow this device /dev/net/tun on addUserDevice function to allow this device.
File: exegol/model/ContainerConfig.py
<SNIP>defaddUserDevice(self, user_device_config: str):
"""Add a device from a user parameters"""ifEnvInfo.isDockerDesktop() anduser_device_config!="/dev/net/tun" :
logger.warning("Docker desktop (Windows & macOS) does not support USB device passthrough.")
logger.verbose("Official doc: https://docs.docker.com/desktop/faqs/#can-i-pass-through-a-usb-device-to-a-container")
logger.critical("Device configuration cannot be applied, aborting operation.")
self.__addDevice(user_device_config)
<SNIP>
Adding fillter can fix the problem for the /dev/net/tun and still abort in case of other device like usb
Alternatives
Maybe create a whitelist of working devices on Docker Desktop on the future in order to allow the --device option for those devices
Additional context
No response
The text was updated successfully, but these errors were encountered:
The needs
The device /dev/net/tun can be pass through using the option --vpn but not using the --device directly using Docker Desktop on MacOS.
Description
We can add filter to allow this device /dev/net/tun on addUserDevice function to allow this device.
File: exegol/model/ContainerConfig.py
Adding fillter can fix the problem for the /dev/net/tun and still abort in case of other device like usb
Alternatives
Maybe create a whitelist of working devices on Docker Desktop on the future in order to allow the --device option for those devices
Additional context
No response
The text was updated successfully, but these errors were encountered: