Skip to main content

bridge_argv

Function bridge_argv 

Source
pub fn bridge_argv(
    container: &str,
    tool: BridgeTool,
    remote_host: &str,
    remote_port: u16,
) -> Result<Vec<String>, String>
Expand description

The argv for the remote docker exec bridge — a structured argument vector, never a shell string. Executed over an SSH exec channel. Per-tool forms match the legacy bridge commands: socat - TCP:h:p and nc|ncat h p.