mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
The local exec helpers covered the development container and a throwaway sidecar next to it, but nothing reached into an application the stack had already deployed. Swarm had swarm-app-exec for that; compose had no counterpart, so the only remaining route was a nested docker exec, which the contributor rules forbid. The helper goes through container.sh's positional form rather than its cmd environment variable. container.sh runs that variable through `sh -lc`, so an already-composed command would be split a second time; passing argv through untouched leaves exactly one shell level, inside the target container. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Local Exec Scripts
This directory holds the container execution helpers under scripts/tests/deploy/local/exec/.
For other local helpers, use ../README.md.
For the canonical Make target index that invokes these helpers, see make.md.
Entry Points
| Entry point | What it does | Key inputs | Notes |
|---|---|---|---|
container.sh |
Opens an interactive shell in the running container or runs a one-off command. | INFINITO_DISTRO, INFINITO_CONTAINER, optional INSPECT_CMD or positional args |
Uses docker exec against the live infinito container. |