-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi I'm pretty good with Docker, but I'm not sure why this device path is failing, it appears the same as yours (while adjusting the USB device path as necessary).
My first try:
docker run -d \
--device /sys/bus/usb/devices/3-0:1.0 \
--privileged \
-e MATCH=kraken
-e PUMPSPEED=20 50 30 75 35 85 40 100
-e FANSPEED=20 50 30 60 35 75 40 100
--restart=unless-stopped avpnusr/liquidctl
ERROR: docker: 1.0 is not an absolute path.
Then I realized that path (/sys/bus/usb/devices/3-0:1.0 is a symlink), so I tried the full path and got a similar invalid path error:
docker run -d --device '/sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb3/3-0:1.0' --privileged -e MATCH='kraken' -e PUMPSPEED='20 50 30 75 35 85 40 100' -e FANSPEED='20 50 30 60 35 75 40 100' --restart=unless-stopped avpnusr/liquidctl
ERROR: docker: bad format for path: /sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb3/3-0:1.0.
Any advice here? Thank you!
Metadata
Metadata
Assignees
Labels
No labels