News for hackers. Stuff that matters.
Re:Docker by Kwpolska on Sunday March 26, 2023 @03:53AM (#35312128)
Docker Desktop runs dockerd in WSL and adds a few things to enable working with it from Windows (e.g. installs the docker CLI on the Windows side and exposes the dockerd control socket to it). You can easily get rid of it and replace it with running dockerd in WSL on your own, or with podman-based tools.
Re:Docker by tyingq on Sunday March 26, 2023 @07:42AM (#35313399)
Docker did do something smart with Docker Desktop by including wsl-vpnkit...to work around brain-dead corporate VPNs that break docker networking. Your alternative solutions don't work when AnyConnect or GlobalProtect, etc, are running.
Re:Docker by ironick09 on Sunday March 26, 2023 @01:24PM (#35316995)
This is only partially true, if _all_ traffic is tunneled over the vpn, then yes you’ll have this issue, but if the traffic is split such that only interesting traffic is sent over the vpn, then you won’t have this issue.
Re:Docker by tyingq on Sunday March 26, 2023 @02:17PM (#35317598)
Yes, though the end user has no control over that knob...the corp end can turn off split tunneling and it's off by default.
Re:Docker by OJFord on Monday March 27, 2023 @06:36AM (#35324971)
AWS Client VPN breaks it just by having ever run, even if not currently active, as it sets `sysctl net.ipv4.ip_forward=0` 'for you'.

My suspicion is that since you pay for client connections, they don't want you running a single bastion client and having your real clients connect via that. But it's annoying, and if you really wanted to do that, you only have to edit the script, or set it back on a schedule/after starting up the client.

Re:Docker by beaviskhan on Monday March 27, 2023 @07:58AM (#35325523)
With AnyConnect you can definitely work around enough to make WSL2 + dockerd functional: https://gist.github.com/pyther/b7c03579a5ea55fe431561b502ec1...