I am trying to setup OpenConnect during a step in my workflow. A coworker had its script working on a MacOS stack (for his iOS workflow) but I am unable to make it work for my Android & Docker stack.
The install works well but when launching OpenConnect with its parameters, I have
Failed to bind local tun device (TUNSETIFF): Operation not permitted
To configure local networking, openconnect must be running as root
See http://www.infradead.org/openconnect/nonroot.html for more information
I found a similar issue on StackOverflow here but the suggested answer require to run Docker with network capabilities. I don’t think I can do this with the default stack, am I wrong? Could I achieve this with my own Docker image? Or is there another solution?