I have a few nodes within a swarm which have usb attached devices.
I can set up a label to constrain deployment of the image to only these nodes no problem.
However, within the container I need a way to find out which USB port has the device attached. I was thinking I could add a label which defines that data to the node. But, can I read node labels from within my containers?
I would also like to specify a different physical location label for use within each if the containers. Any idea how I can specify different values for the different instances of the container running within the swarm?