Expand description
Docker bridge validation and command construction (no shell strings).
Functions§
- bridge_
argv - The argv for the remote
docker execbridge — 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:pandnc|ncat h p. - inspect_
argv - Argv for
docker inspectwith a structured output format. - tool_
probe_ argv - Argv probing the bridge tool’s presence inside the container.
whichis executed directly (an exec argv, nosh -cstring). - validate_
container_ name - Container names: alnum start, then alnum/
_/./-, ≤128 total. - validate_
remote_ host - Remote hosts reachable through the bridge: alnum/
./-, ≤253. - validate_
remote_ port