How to have a service with privileges to access GPIO? (on Swarm Mode)

Hy everyone,

I have been using Swarm kit (old swarm) to orchestrate microservices on raspberry PI’s. The services need access to the GPIO.
I want to start using Swarm Mode, but i realized that there is no cap-add or privileged option available for services.
Is there a workaround?

Thanks alot for any help regarding this topic :slight_smile: