Last active
February 5, 2023 16:34
-
-
Save beriberikix/9b1cb3155064b7085a4f5520aaa0c770 to your computer and use it in GitHub Desktop.
Attempts at using USB/IP VHCI in a container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:jammy | |
RUN \ | |
apt update \ | |
&& apt install -y kmod linux-tools-virtual usbutils | |
# docker run -it --cap-add=ALL --privileged -v /lib/modules/`uname -r`/kernel/drivers/usb/usbip:/lib/modules/`uname -r` usbip:latest | |
# modprobe usbip-core | |
# modprobe vhci-hcd | |
# usbip list -r <server> | |
# sudo usbip attach -r <server> -b <bus ID> | |
# lsusb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment