outline-sdk icon indicating copy to clipboard operation
outline-sdk copied to clipboard

OutlineCLI blocks docker

Open Misery7100 opened this issue 1 year ago • 3 comments

Hello, I'm really appreciated to use outline-cli after .appimage version stopped working. But I've encountered this issue that routing rules of cli are blocking traffic for docker containers. Not really expert in that, but is it possible to configure somehow the cli itself or add specific ip routes to bypass vpn for docker containers? I've validated that before I was able to utilize containers (when worked with .appimage), also on windows and macos with desktop app everything is fine

Misery7100 avatar Feb 16 '24 05:02 Misery7100

@jyyi1 any ideas?

fortuna avatar Feb 16 '24 19:02 fortuna

Hi @Misery7100 , I'm not sure about your issue, but here is how OutlineCLI configures the routing table, hopefully this could help you understand it better: https://github.com/Jigsaw-Code/outline-sdk/issues/138#issuecomment-1854796842

jyyi1 avatar Feb 16 '24 22:02 jyyi1

Using Docker command line parameter --net=host (or, with docker build, --network=host) seems to be ameliorating the issue. I believe this is the way to go.

alamar avatar Mar 31 '25 07:03 alamar