Running Codex via Docker compose with bridge network driver network=bridge adds a NAT and Docker assign ephemeral ports for outgoing connections and whole configuration does not work as expected.
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
network=host is working only on Linux.
Even if we can set network=host on macOS, nothing is changed and it is still do a NAT.
Running with a binary works well and we also can use WireGuard VPN with port forwarding. PR adds a basic script and we can adjust it later.
Running Codex via Docker compose with bridge network driver
network=bridge
adds a NAT and Docker assign ephemeral ports for outgoing connections and whole configuration does not work as expected.And host network driver can't be used on all OSs
Even if we can set
network=host
on macOS, nothing is changed and it is still do a NAT.Running with a binary works well and we also can use WireGuard VPN with port forwarding. PR adds a basic script and we can adjust it later.