Skip to content

Add --usb [bus|vid|pid] option to run command #3456

@keelung-yang

Description

@keelung-yang

Hi,
Since there is a --gpus option in docker run command, why not add a --usb ?

Most of applications take care of VID & PID only. But once a USB device is plugged-in agian, the device_number changed or
bus_number also changed in /dev/bus/usb. So --device /dev/bus/usb/<bus_number>/<device_number> is generic but not practical for USB devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions