# Passing USB device to Rancher workload

**URL:** <https://forums.suse.com/t/passing-usb-device-to-rancher-workload/19317>\
**Category:** General\
**Created:** [January 19, 2021, 2:04am UTC](https://forums.suse.com/t/passing-usb-device-to-rancher-workload/19317 "2021-01-19T02:04:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![biiiink](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/biiiink/32/7116_2.png) [@biiiink](https://forums.suse.com/u/biiiink)\
**Post date:** [January 19, 2021, 2:04am UTC](https://forums.suse.com/t/passing-usb-device-to-rancher-workload/19317/1 "2021-01-19T02:04:50Z")

</div>

I have a proxmox server running Docker running Rancher/Kubernetes

I am trying to setup openzwave workload and i’ve run into an issue.

the container needs an environment variable “USB\_PATH”. I have provided it with /dev/serial/by-id/{usb-device}

This seems to not be working as i see an error in the log for the pod:  
[ozwdaemon]: USB Path “/dev/serial/by-id/usb-0658\_0200-if00” does not exist or is not a Character Device

Do i need to do anything like passing through the USB device to get this working

Go easy on me, im very new to Docker/Rancher/Kubernetes

---

<div class="post-metadata">

**Author:** ![biiiink](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/biiiink/32/7116_2.png) [@biiiink](https://forums.suse.com/u/biiiink)\
**Post date:** [January 19, 2021, 1:47pm UTC](https://forums.suse.com/t/passing-usb-device-to-rancher-workload/19317/2 "2021-01-19T13:47:26Z")

</div>

Solved. Needed to make a [hostPath](https://kubernetes.io/docs/concepts/storage/volumes/#hostpath) volume to mount it in to the container.
