After finding out that docker swarm does not let me add capabilities to my services, I had to refactor out the features that run under SYS_ADMIN to run under systemd as a standalone container…but now the problem is my existing swarm service needs to talk to the host (systemd’ published port) and still talk to fellow swarm services to function.
I was able to get one of each to work but not both (either host or overlay), what would be the proper solution here? preferably in the YAML definition file.
Docker version 18.06.1-ce, build e68fc7a
YAML version: 3.7
your thoughts are appreciated.