I would like to be able to access internal swarm network from my workstation (so I can debug or access internal services) but nor
--cap-add exists in
docker service, so far I am trying:
create an overlay network with
docker network create -d overlay --attachable mynet
run vpn container (pritunl in this case)
docker run -d --name pritunl -p 1194:1194 -p 1194:1194/udp -p 9700:80 -p 443:443 --cap-add NET_ADMIN --network vpn jippi/pritunl
With this I got the service running in the desired network, but as it is
out of swarm ports as exposed to
host so not accessible from outside.
Any tip to will be welcome.