As you suggests, here is a cleaned up version of my fix for docker swarm mode.
Since there is no option to use 'devices' in services running on a docker swarm i added a few lines of code to create the required device inside the container.
This is running fine on my rasperry-pi swarm cluster.
I already increased the image version to 0.4.2. We can change this if its more a 0.5.0 for you
As you suggests, here is a cleaned up version of my fix for docker swarm mode.
Since there is no option to use 'devices' in services running on a docker swarm i added a few lines of code to create the required device inside the container.
This is running fine on my rasperry-pi swarm cluster.
I already increased the image version to 0.4.2. We can change this if its more a 0.5.0 for you