Behind jackin❯ — crates
jackin-docker
Concrete Docker daemon client and subprocess shell runner for jackin❯. The workspace's adapter over Docker — image build/run/inspect, networking, and a captured shell-command runner — implemented behind the ports declared in jackin-core.
What this crate owns
- The Docker client (
docker_client) — image/container operations against the daemon. - A captured shell-command runner (
shell_runner) used across the workspace forop,gh, and other host CLIs. - Docker networking helpers (
net).
Architecture tier and allowed dependencies
L2 infrastructure. Allowed workspace dependencies: jackin-core, jackin-diagnostics, jackin-build-meta. Must NOT depend on presentation (jackin-launch-tui, jackin-console, jackin-tui) — Docker access is infrastructure, consumed by orchestration above.
Structure
| Module | Owns | Tests |
|---|---|---|
| crate root, re-exports | — |
· | Docker daemon client | |
· | captured shell-command runner | |
· | Docker networking helpers | |
Public API
DockerApi and CommandRunner implementations plus the networking helpers consumed by jackin-runtime, jackin-image, jackin-isolation, and jackin-host.
How to verify
cargo nextest run -p jackin-docker
cargo clippy -p jackin-docker --all-targets -- -D warnings