-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mounting volume for passing printer seems not to work anymore #103
Comments
Thank you for sharing this, I'll give it a shot and update the doc. |
sudo docker run -d -p 631:631 -v /var/run/dbus:/var/run/dbus -v /dev/bus/usb:/dev/bus/usb --privileged=true --name cupsd olbat/cupsd I used the above command to create a container, found and installed the printer. https://forum.openmediavault.org/index.php?thread/43736 -switch-off-and-on-re-plug-usb-printer-with-olbat-cupsd/ Note that the container runs in privileged mode. |
passing the printer by volume like this
-v /var/run/dbus:/var/run/dbus
seems not to work anymore.
i got it working again with
--device /var/run/dbus/<busOfYourHost>/<deviceNumber>
figured out the bus number and device number by
lsusb
The text was updated successfully, but these errors were encountered: