feat: add Docker network support for sandbox connections#612
feat: add Docker network support for sandbox connections#612TheArtificialQ wants to merge 2 commits into
Conversation
Greptile SummaryThis PR adds a
Confidence Score: 3/5The --docker-network host path will fail in production: Caido bootstrap will attempt to resolve a Docker port mapping that does not exist for host-networked containers. The core docker_client.py network injection is solid, but session_manager.py is missing the host-network special case that its own companion test documents. Running --docker-network host will hit an error or connect Caido to a stale/wrong endpoint, making that specific mode unusable. Everything else is correct. strix/runtime/session_manager.py needs a host-network branch before resolve_exposed_port is called; tests/test_docker_network.py already documents exactly what that branch should do. Important Files Changed
|
Adding
--docker-networkparameter.Docker network to connect the container to. Accepts a network name such as
my-networkor a built-in mode such ashostorbridge. Use this when the target is only reachable through a specific Docker network.