<p>Is it possible to map, the device port(USB port) of a worker node, to a POD?
Similar to <code>docker create --device=/dev/ttyACM0:/dev/ttyACM0</code></p>

<p>Is it possible? I checked the refence doc, but could not find anything.</p>

<p>In Docker service, is it possible to map <code>--device port</code> to service container(if I am running only 1 container)? </p>

jisan
<p>You can actually get this to work. You need to run the container privileged and use a hostPath like this:</p>

<pre><code>  containers:
  - name: acm
    securityContext:
      privileged: true
    volumeMounts:
    - mountPath: /dev/ttyACM0
      name: ttyacm
  volumes:
  - name: ttyacm
    hostPath:
      path: /dev/ttyACM0
</code></pre>
